Use the following buttons to quickly navigate to different sections:
| Table of contents |
|---|
| Project Structure |
| Prerequisites |
| Features |
| Getting Started |
| Uploading Pokémon Records |
| API Documentation |
Welcome to the Pokémon Go App, a dynamic application that allows you to explore the exciting world of Pokémon! Whether you’re a seasoned Pokémon Trainer or just starting your journey, this app provides a comprehensive platform for managing, discovering, and interacting with your favorite Pokémon.
This project follows a specific structure to keep the code organized. Below is an explanation of the key directories and files:
/src: Contains the source code for the application.
/routes: Defines the API routes and their handlers.
/model: Contains Sequelize models for interacting with the database.
/middleware: Houses middleware functions used in the application.
/config: Configuration files for various environments.handlers: Contains request handlers for managing Pokemon data.
pokemonHandlers.js: Handles operations related to Pokemon, including uploading from Excel, creation, retrieval, filtering, and deletion./assets: Holds Pokémon Excel template to use./tests: Holds test files for unit and integration testing.docker-compose.yml: Docker Compose configuration for setting up the development environment.
package.json: Node.js package file containing project dependencies and scripts.
README.md: This file, providing an introduction and information on how to run the project.To get started with the Pokémon Go App, follow these steps:
git clone https://github.com/your-username/pokemon-go-app.git
cd Pok-mon-Go-App/
Run the following commands to build the Docker image and start the application:
docker-compose up -d node_db
docker compose build
docker compose up
To upload Pokémon records from an Excel file, use the provided template:
Download the pokemon_data_template.xlsx file.
Fill in the Pokémon details in the template.