Already a trainer? Sign in here
Beware of Team Rocket — they're always watching.
Next.js 14
App Router · Server & Client Components
Drupal
Headless CMS · REST API & JSON:API
TypeScript
End-to-end type safety
Tailwind CSS
Utility-first responsive styling
NextAuth.js
OAuth 2.0 client credentials flow
Vercel
Analytics & Speed Insights
Consumes Drupal JSON:API for detail pages with relationship includes, keeping the frontend fully decoupled.
The Next.js backend exchanges client credentials with Drupal's Simple OAuth server and forwards the bearer token on every API call — secrets never reach the browser.
The Pokédex list is server-rendered on first load for instant content, then switches to client-side fetch for pagination and filtering without a full page reload.
Typed API client fetches and normalises Drupal JSON:API responses into clean TypeScript models.
Mobile-first Tailwind CSS layout with Pokémon-themed colour palette.
Access tokens are transparently refreshed via NextAuth callbacks so sessions stay alive without user interruption.