Pokédex is a web application for finding Pokémon, built with React using class components. The application allows users to search for Pokémon by name and view their basic information and stats. This project demonstrates working with the component lifecycle, error handling, API interaction, and state management without external state management libraries.
- Search Pokemon by name
- Display list of all Pokemon when search is empty
- Save search query in localStorage
- Display detailed Pokemon information (image, statistics)
- Handle API errors with informative messages
- Loading indicator during request execution
- Error Boundary for catching critical errors
2025-07-11
- React 18
- TypeScript
- Vite
- Tailwind CSS
- PokeAPI
- ESLint
- Prettier
- Husky
- Node.js (version 18.x or higher)
npm
Clone the repository and install all necessary dependencies:
git clone https://github.com/cherkasovaa/pokedex-pokemon-search.gitcd pokedex-pokemon-searchnpm installnpm run devThe application will be available at http://localhost:5173. For proper functionality in the Russian Federation, VPN usage is required.
npm run buildFiles for deployment will be created in the dist directory.
npm run preview# Run ESLint to find errors
npm run lint# Automatically fix formatting with Prettier
npm run format:fix