- Description
- Frameworks and Technologies
- Routes
- Features
- How to Run
- Acknowledgments
- Academic Context
- Contributors
- License
This Pokemon Website is a full-stack application that allows users to explore Pokemon details, manage custom stories for each Pokemon, and interact with the PokeAPI. The application provides a seamless user experience with a modern interface and robust backend functionality.
- Frontend: React
- React is used to build the dynamic and interactive user interface. It manages state efficiently and provides a smooth user experience.
- Backend: Express.js
- Express.js is used to handle server-side logic, including API routes for CRUD operations and database interactions.
- Database: SQLite
- SQLite is used to store custom Pokemon stories locally.
- GET /pokemon
- Fetches a list of Pokemon from the PokeAPI.
- GET /pokemon/:id
- Fetches details of a specific Pokemon, including its custom story if available.
- POST /pokemon/:id/story
- Creates or updates a custom story for a specific Pokemon.
- DELETE /pokemon/:id/story
- Deletes the custom story for a specific Pokemon and reverts to the original API story.
- /
- The homepage displaying a list of Pokemon. Users can browse through the list and select a Pokemon to view its details.
- /view/:pokemonId
- Displays detailed information about a specific Pokemon, including its stats, abilities, and custom story (if available).
- /view/:pokemonId/update
- Allows users to update or edit the custom story for the selected Pokemon.
- /memory-game
- A fun memory game featuring Pokemon cards. Users can test their memory skills by matching pairs of Pokemon.
- /pokedex
- Redirects to the first page of the Pokedex.
- /pokedex/page/:pageNumber
- Displays a paginated view of the Pokedex, allowing users to navigate through pages to explore all Pokemon.
- Pokemon Details: View detailed information about each Pokemon, including stats, abilities, and types.
- Custom Stories: Add, edit, and delete custom stories for each Pokemon.
- Integration with PokeAPI: Fetches real-time data about Pokemon from the PokeAPI.
- Responsive Design: Ensures the website is accessible on various devices.
- Clone the repository:
git clone https://github.com/CodeByMoonlight/Pokemon-API-Website.git
- Navigate to the project directory:
cd Pokemon-API-Website
- Install dependencies for both the client and server:
cd client && npm install cd ../server && npm install
- Start the development servers:
- For the client:
npm run dev
- For the server:
npm run dev
- For the client:
- Open the application in your browser at
http://localhost:5173/
.
- PokeAPI: For providing the Pokemon data used in this application.
- React: For the powerful frontend framework.
- Express.js: For the robust backend framework.
This project is licensed under the MIT License.
This website is a project developed for the ICE 415 subject. It demonstrates the integration of modern web development frameworks and APIs to create a functional and interactive application.
- Created By:
- Alijah Valle
- Abby Gale Señeres