Car Rental System is a PHP-based web application that allows users to rent cars and administrators to manage car listings and bookings. It features a user-friendly interface for customers and an admin panel for managing the system.
- User registration and login
- Browse available cars for rent
- Book cars for specific dates
- Admin panel to manage car listings and bookings
- Responsive design for various devices
Car-Rental/ βββ admin/ --> Admin panel files βββ assets/ --> CSS, JavaScript, and image assets βββ includes/ --> PHP include files βββ user/ --> User dashboard and booking files βββ index.php --> Homepage βββ login.php --> User login page βββ register.php --> User registration page βββ contact.php --> Contact form βββ about.php --> About page βββ LICENSE --> License file
- Clone the repository:
git clone https://github.com/Vexx-bit/Car-Rental.git - Set up a MySQL database and import the provided SQL file:
- Create a new database named
carrental - Import the
carrental.sqlfile located in thedatabase/directory
- Create a new database named
- Configure the database connection:
- Open
includes/config.php - Update the database credentials accordingly
- Open
- Run the application:
- Place the project folder in your web server's root directory (e.g.,
htdocsfor XAMPP) - Start your web server and navigate to
http://localhost/Car-Rental/
- Place the project folder in your web server's root directory (e.g.,
- Username:
test@gmail.com - Password:
Test@123
- Username:
admin - Password:
Test@12345
This project is licensed under the terms of the MIT License.
Developed with β€οΈ by Samuel Kang'ethe