A lightweight Pokémon browser built with React and Vite. The app fetches real Pokémon data from the public PokeAPI and provides a searchable, navigable Pokédex experience.
- Browse a paginated list of Pokémon
- Search for Pokémon by name
- View Pokémon details including height, weight, and types
- Navigate between Pokémon using routes
- Explore similar Pokémon by type
- Responsive UI with a clean Pokédex-inspired layout
- React 19
- Vite
- React Router
- Axios
- PokeAPI
src/
├── App.jsx
├── components/
│ ├── Pokedex/
│ ├── Pokemon/
│ ├── PokemonDetails/
│ ├── PokemonLIst/
│ └── Search/
├── hooks/
│ ├── useDebounce.js
│ ├── usePokemonDetails.js
│ └── usePokemonList.js
├── routes/
│ └── CustomRoutes.jsx
├── main.jsx
├── index.css
└── App.css- Node.js 18+
- npm or yarn
npm installnpm run devThen open the local URL shown in the terminal, typically:
http://localhost:5173/npm run buildnpm run previewnpm run dev # start Vite dev server
npm run build # build production bundle
npm run preview # preview production build locally
npm run lint # run ESLint checksThis app uses the public Pokémon API:
This project is ideal as a learning app for practicing:
- React component architecture
- custom hooks
- API integration with Axios
- state management with hooks
- client-side routing
This project is for educational/demo purposes.