This repository contains a Pokedex built with PHP and MySQL, serving as a training ground for learning database interactions, PHP programming, and MySQL queries. The Pokedex is a simple web application that allows users to browse and explore information about different Pokémon. As a training project, it does not use prepared statements, as the primary focus is on PHP and MySQL training, rather than implementing advanced security measures.
🔍 Browse through a list of Pokemon, sorted by their numbers:
Easily explore a collection of Pokemon in ascending order based on their unique numbers, allowing for a structured and organized browsing experience.
📊 View detailed information about each Pokemon, including their stats:
Get in-depth insights into each Pokemon's attributes, such as HP, attack, defense, special attack, special defense, and speed, enabling a comprehensive understanding of their capabilities.
🎭 Filter Pokemon by their types and discover their strengths and weaknesses:
Discover Pokemon strengths and weaknesses by filtering them based on their types. Uncover strategic advantages and vulnerabilities, making team building and battling more engaging.
📱 Responsive and modern user interface for a seamless experience on different devices:
Enjoy a seamless and visually appealing user interface that adapts to various screen sizes, ensuring a smooth experience whether you're using a desktop, tablet, or mobile device.
The main challenge of this project was to grasp the fundamentals of PHP and MySQL database interactions. By implementing a Pokedex application, I could reinforce my knowledge of PHP programming, database querying, dynamic routing, responsive design... Additionally, I learned how to structure my code following the MVC pattern. 🏗
Follow these steps to run the Pokedex application on your local environment:
-
Clone the Repository:
Start by cloning this repository to your web server directory. -
Configure Web Server:
Configure your web server to use the.htaccess
file for URL rewriting (Apache) or an equivalent setup for other servers. -
Create MySQL Database:
Create a MySQL database and import the provided SQL file to set up the necessary tables and data. -
Update Database Credentials:
Open theconfig.ini
file and update it with your database credentials. -
Install Dependencies:
Install Composer dependencies using the following command:
composer install