A modern, responsive Pokédex web application built with Next.js, TypeScript, React Query and Tailwind CSS. This application allows users to browse, search, and explore Pokémon with a beautiful and intuitive interface.
- 🔍 Advanced Search - Find Pokémon by name
- 📱 Fully Responsive - Works seamlessly on all devices
- 🌓 Dark/Light Mode - Built-in theme support for comfortable viewing
- ⚡ Blazing Fast - Optimized performance with React Query
- 🎨 Beautiful UI - Modern interface built with Radix UI and Tailwind CSS
- 🧪 Comprehensive Testing - Unit, integration, and end-to-end tests for reliability
- 📊 Detailed Stats - View detailed Pokémon statistics and abilities
- Node.js 20.0.0 or later
- npm
-
Clone the repository
git clone https://github.com/Dbuggerx/nextjs-pokedex.git cd nextjs-pokedex
-
Install dependencies
npm install
-
Run the development server:
npm run dev
-
Open your browser Visit http://localhost:3000 to see the application in action!
dev
- Start the development server with Turbopackbuild
- Build the application for productionstart
- Start the production serverlint
- Run ESLint
test
- Run all tests (unit, integration, and e2e)test:unit
- Run unit tests with Vitesttest:unit:watch
- Run unit tests in watch modetest:unit:ui
- Run unit tests with Vitest UItest:integration
- Run integration teststest:e2e
- Run end-to-end tests with Playwrighttest:ui
- Run Playwright UI modetest:debug
- Debug tests with Playwrighttest:chromium
- Run tests in Chromiumtest:firefox
- Run tests in Firefoxtest:webkit
- Run tests in WebKittest:mobile
- Run tests on mobile viewportstest:dark
- Run tests in dark modetest:report
- Show test report
generate-typed-api
- Generate TypeScript types from PokéAPI OpenAPI spec
- React - JavaScript library for building user interfaces
- Next.js - React framework
- TypeScript - Type checking
- Tailwind CSS - Styling
- Radix UI - Accessible UI components
- Tanstack Query - Data fetching and state management
- Playwright - Reliable testing framework
- PokéAPI - Pokémon data
This is an ongoing project that's being actively developed.