DelhiRide is a web-based vehicle rental platform designed to simplify the process of booking bikes and scooters for short-term use. This project demonstrates a full-stack implementation using PHP for server-side logic and MySQL for database management, focusing on user-friendly interfaces and efficient data handling.
- User Authentication: Secure Login and Registration system for customers using PHP sessions.
- Dynamic Vehicle Listing: Real-time display of available vehicles with pricing and specifications.
- Booking Management: Seamless booking interface allowing users to select dates and calculate total fare automatically.
- Responsive UI: Designed with HTML5/CSS3 to work across desktops and mobile devices.
- Database Integration: Normalized MySQL database schema to handle customer data and booking records efficiently.
- Frontend: HTML5, CSS3, JavaScript
- Backend: PHP (Core)
- Database: MySQL
- Server: Apache (via XAMPP)
Follow these steps to run the project locally:
-
Clone the Repository:
git clone [https://github.com/Pro472/DelhiRide.git](https://github.com/Pro472/DelhiRide.git)
-
Move Files: Copy the project folder to your XAMPP
htdocsdirectory (e.g.,C:\xampp\htdocs\DelhiRide). -
Database Setup:
- Open phpMyAdmin (
http://localhost/phpmyadmin). - Create a new database named
delhiride. - Import the
delhiride.sqlfile provided in the database folder (or run the SQL query provided below).
- Open phpMyAdmin (
-
Configure Connection: Ensure
connection.phphas the correct database credentials (default user:root, password: ``). -
Run the Project: Open your browser and visit:
http://localhost/DelhiRide/login.html
The project uses a relational database with the following structure:
customersTable: Stores user details (ID, Name, Email, Password, Address).bookingsTable: Stores reservation details linked to customers via Foreign Key (Customer ID, Vehicle Name, Dates, Total Amount).
- Login Page: Simple and secure entry point.
-
- Dashboard: View available rides.
-
- Booking Receipt: Instant confirmation of orders.
-
Developed by Aayush Kumar | BCA Final Year Minor Project