Welcome to CarRent – a web application for car rental agencies and customers, designed to provide a seamless car rental experience.
CarRent is a web-based application that allows car rental agencies to manage their vehicle listings and customers to book cars online. The platform ensures a user-friendly experience with secure authentication and easy navigation.
- User Registration: Separate registration pages for customers and car rental agencies.
- Login System: Secure login for both customers and agencies with JWT authentication.
- Car Management: Agencies can add and manage car listings, including vehicle model, number, seating capacity, and rent per day.
- Car Booking: Customers can view available cars, select rental periods, and book cars online.
- Booking Management: Agencies can view all bookings for their cars.
- HTML/CSS: For creating a responsive and visually appealing user interface.
- JavaScript: Enhances interactivity and improves user experience.
- PHP: For building a robust and scalable backend.
- MySQL: Manages and stores all user and vehicle data securely.
- XAMPP or any similar PHP development environment.
- Clone the Repository in htdocs folder of XAMPP:
git clone https://github.com/spm999/Car-Rental-System.git
-
Set Up the Database:
- Import the car_booking.sql file into your MySQL database.
- Configure the database connection in config/connection.php.
-
Start the Server:
-
Open XAMPP and start the Apache and MySQL modules.
-
Run the Application:
Open your browser and go to http://localhost/CarRent/home/index.php.
- Registration: Customers and agencies can register through their respective registration pages.
- Login:Use the login page to access your account.
- Car Management (Agency):Agencies can add, edit, and view cars through the dashboard.
- Car Booking (Customer):Customers can browse available cars, select rental periods, and book cars.
- View Bookings (Agency):Agencies can view all bookings for their cars.
The database consists of the following tables:
- agency
- agencycar
- cars
- customers
- rentedcar
The car_booking.sql file contains the complete schema and sample data.
Contributions are welcome! Please open an issue or submit a pull request for any changes.
This project is licensed under the MIT License.
For any inquiries or support, please contact: Name: Surya Prakash Maurya Email: msurya9701@gmail.com