Pocket Monsters App is a React application that uses TypeScript for static typing and Tailwind CSS for styling. The app is built around reusable components and focuses on a filter system and displaying details of Pokémon, including their evolutions.
- Pokémon Visualization: Displays a list of Pokémon with their images and types.
- Type Filtering: Allows filtering the list of Pokémon based on their types.
- Evolution Details: Shows information about the Pokémon evolution chain.
- Loading and Errors: Displays loading states and error messages when needed.
- Responsive Design: The interface is responsive and adapts to different screen sizes.
src/components
: Contains reusable components such asMonsterCard
,FilterSection
, andMonsterList
.src/templates
: Contains page templates likeProductOverviewTemplate
, which organizes the page layout.src/pages
: Contains main pages of the application, such asProductOverviewPage
.src/types.ts
: Defines interfaces and types used in the project, including types for Pokémon and their evolution chains.src/stories
: Contains Storybook stories for visualizing and testing components in different states.
To get started with the project, follow these steps:
-
Clone the repository:
git clone https://github.com/yourusername/pocket-monsters-app.git
-
Navigate to the project directory:
cd pocket-monsters-app
-
Install the dependencies:
npm install
-
Start the development server:
npm run dev
For linting and type checking, use the following commands:
-
Linting:
npm run lint
-
Type Checking:
npm run type-check
To run Storybook for component development and testing, use:
npm run storybook