Skip to content

This repository contains a Pokedex web application built using the Model-View-Controller (MVC) architecture in PHP. The Pokedex allows users to view a list of Pokemon with their respective details and statistics. It leverages a MySQL database with PDO for data storage and retrieval. 🐲

Notifications You must be signed in to change notification settings

fg-floriangirard/Pokedex

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pokedex App - Database Interaction 💬

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.

Features:

🔍 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.

Project Challenges:

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. 🏗

Screenshots:

Capture-d-cran-2023-07-31-21-47-56.png Capture-d-cran-2023-07-31-21-48-43.png Capture-d-cran-2023-07-31-21-49-03.png

How to Run the Pokedex:

Follow these steps to run the Pokedex application on your local environment:

  1. Clone the Repository:
    Start by cloning this repository to your web server directory.

  2. Configure Web Server:
    Configure your web server to use the .htaccess file for URL rewriting (Apache) or an equivalent setup for other servers.

  3. Create MySQL Database:
    Create a MySQL database and import the provided SQL file to set up the necessary tables and data.

  4. Update Database Credentials:
    Open the config.ini file and update it with your database credentials.

  5. Install Dependencies:
    Install Composer dependencies using the following command:

composer install

About

This repository contains a Pokedex web application built using the Model-View-Controller (MVC) architecture in PHP. The Pokedex allows users to view a list of Pokemon with their respective details and statistics. It leverages a MySQL database with PDO for data storage and retrieval. 🐲

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published