A web-based platform inspired by the magical world of Hogwarts, designed to teach programming through interactive courses, quizzes, and challenges. Users can enroll in courses, solve quizzes, and track their progress on leaderboards.
This project was completed in collaboration with Rahf and Badr as part of the IEEE ZSB Backend track.
Below are some demo images of the project:
Follow these steps to set up the project on your local machine:
- Install PHP (version 7.4 or higher).
- Install Composer, the dependency manager for PHP.
- Install MySQL or any compatible database.
-
Clone the repository:
git clone https://github.com/r6mez/Hogwarts-For-Programming.git cd Hogwarts-For-Programming -
Install dependencies using Composer:
composer install
-
Set up the database: run queries in
schema/schema.sqland to populate database runschema/query.sql, and to view database settings head toconfig/config.php. -
Start the development server:
php -S localhost:8000 -t public
-
Open your browser and navigate to
http://localhost:8000.
public/: Contains public-facing files, including the entry pointindex.phpand static assets.src/: Core application logic, including controllers, validators, and utility classes.config/: Configuration files, such as database credentials and route definitions.Schema/: SQL scripts for setting up the database schema.vendor/: Composer dependencies (generated after runningcomposer install)..gitignore: Specifies files and directories to exclude from version control.README.md: Documentation for setting up and understanding the project.









