This is a desktop application built with JavaFX that serves as a Pokédex. It is connected to a MySQL database to provide information about various Pokémon. Users can view details of each Pokémon, search for specific Pokémon, and add them to their favorites.
- Pokémon Information: View detailed information about each Pokémon, including its name, type and stats.
- Search Functionality: Easily search for Pokémon by name.
- Favorites: Add Pokémon to favorites for quick access to their information.
- MySQL Database Integration: All Pokémon data is stored and retrieved from a MySQL database, ensuring scalability and reliability.
- User-Friendly Interface: Intuitive and visually appealing interface for smooth navigation and interaction.
- Java Development Kit (JDK)
- MySQL Database
- Clone the repository:
git clone https://github.com/yourusername/pokedex-javafx.git
- Import the project into your preferred Java IDE.
- Setup JavaFX.
- Download MySQL Connector and add the JAR file to project dependencies.
- Setup a MySQL database using the provided
pokemon.csv
orpokemon.json
file. - Modify the
DatabaseController.java
file to use your specified username and password. - Run
Main.java
.
- Upon launching the application, you will be presented with the Pokédex interface.
- Click on a Pokémon to view its detailed information.
- To add a Pokémon to favorites, click the "Favourite" button.
- Use the search bar to find specific Pokémon by name.