A web-based tutoring system built with PHP and MySQL, featuring user management, scheduling, bookings, and reviews. It is built for online and onsite tutoring service.
- User roles: Admin, Tutor, Student
- Subject management
- Tutor scheduling
- Booking system
- Review system
- Responsive design with Tailwind CSS
- PHP 7.4 or higher
- MySQL 5.7 or higher
- Apache or Nginx web server
- XAMPP or similar for local development
-
Clone or Download the Project
- Place the project files in your web server's root directory (e.g.,
htdocsfor XAMPP).
- Place the project files in your web server's root directory (e.g.,
-
Database Setup
- Create a new MySQL database named
tutoring_system. - Import the
db.sqlfile to create the necessary tables:Or use phpMyAdmin to import the file.mysql -u your_username -p tutoring_system < db.sql
- Create a new MySQL database named
-
Configuration
- Open
config.phpand update the database connection details:$servername = "localhost"; $username = "your_db_username"; $password = "your_db_password"; $dbname = "tutoring_system";
- Open
-
Web Server Configuration
- Ensure your web server is configured to serve PHP files.
- For XAMPP, start Apache and MySQL services.
-
Access the Application
- Open your browser and navigate to
http://localhost/cit17-finals/home-index.php- this is the homepage of our project - There is a Button for Register as a new user or login with existing credentials.
- Open your browser and navigate to
FOR ADMIN ACCOUNT
- Email: admin@gmail.com (static account)
- Password: admin123 (static/hardcoded account) *After you logged in, you can add admin account on user management also.
- Register/Login
- View available schedules
- Book tutoring sessions
- Leave reviews after completed sessions
- Login (assigned by admin)
- Manage schedules
- View bookings
- View Reviews
- Manage users, subjects, schedules, bookings, reviews
- Change password
home-index.php- Homepagelogin.php- Login pageregister.php- Registration pageadmin.php- Admin dashboardindex-student.php- Student dashboardteacher.php- Teacher/Tutor dashboardconfig.php- Database configurationdb.sql- Database schema- Various PHP files for CRUD operations
- PHP
- MySQL
- Tailwind CSS
- HTML5
- Fork the repository
- Create a feature branch
- Make your changes
- Test thoroughly
- Submit a pull request
This project is open source and available under the MIT License.