A modern web app to browse, search, and favorite Pokémon.
- Browse paginated Pokémon list
- Search by name and filter by type
- View detailed Pokémon information
- Create account and save favorites
- Responsive design
- Framework: Next.js 15 (App Router)
- Authentication: Better Auth
- Database: PostgreSQL with Drizzle ORM
- API: tRPC with TanStack Query
- Styling: Tailwind CSS
- UI Components: shadcn/ui
- Clone the repository
- Install dependencies:
pnpm install
- Set up environment variables in
.env.local:DATABASE_URL=your_postgresql_connection_string NEXT_PUBLIC_APP_URL=http://localhost:3000 - Run database migrations:
pnpm db:push
- Start the development server:
pnpm dev
- Open http://localhost:3000
pnpm dev- Start development serverpnpm build- Build for productionpnpm lint- Run lintingpnpm type-check- Run TypeScript checkspnpm db:push- Push schema changes to database