Welcome to the CAB Booking Application! This application allows users to book cabs, track rides, and rate drivers. This README provides an overview of the project, its setup, and its functionalities.
- User Registration and Login: Users can register and log in to the application.
- Driver Registration and Login: Drivers can register and log in to the application.
- Cab Booking: Users can book cabs by providing pickup and drop-off locations.
- Ride Tracking: Users can track their ride status.
- Driver Rating: Users can rate drivers after completing their rides.
- Distance and Time Calculation: The application calculates the approximate distance and time for a ride.
- SMS Notification: Send SMS notifications to drivers when a ride is booked(not implemented).
- Database Management: The application uses MySQL for database management.
- Java: Core programming language used for application development.
- JDBC: Java Database Connectivity for database interaction.
- MySQL: Database management system.
- Java Development Kit (JDK) 8 or higher
- MySQL
git clone https://github.com/ap2323/cab-booking-application.git
cd cab-booking-application
Update the dbconfig.properties file with your MySQL credentials.
database.name=CaBbookingSystem
database.user=yourusername
database.password=yourpassword
The DatabaseConfiguration class sets up the database and creates the necessary tables. Ensure you have provided correct MySQL credentials in the dbconfig.properties file.
- Users
- Drivers
- Rides
- Locations
- Payments
- Ratings
-
User Registration.
-
Run the application.
-
Follow the prompts to register a new user or driver.
-
Log in using your credentials.
-
Log in as a user.
-
Book a cab.
-
Provide the pickup and drop-off locations.
-
The application calculates the distance and approximate travel time.
-
Confirm the booking.
-
Receive SMS notification for booking confirmation(not implemented).
-
After completing a ride, log in as a user.
-
Rating a Driver. Provide a rating and comment for the driver.
We welcome contributions from the community! If you find a bug or want to add a feature, please open an issue or submit a pull request.
- Fork the repository.
- Create a new branch.
- Make your changes.
- Submit a pull request.