- IntelliJIDEA
- Serverport: 8080 (use: localhost:8080)
- Database name: cab_application
- Java version: 17
- JSP for frontend
- Everything is present in the pom.xml (no need to download any library)
- Download the source code and import in intellijIDEA. Wait for the libraries to get loaded.
- import the cab_application.db into your database. (Location: cab_service/cab_application.sql)
- Go to localhost:8080/
- Login into the system
- There are 3 accounts already created for testing purpose:-
- userId:admin,role:admin,password:123
- userID:cust1,role:USER,password:123
- userID:cust2,role:USER,password:123
Demo Video Link: https://www.youtube.com/watch?v=5x5gmJEXhVY
- Home - localhost:8080/
- List Car Requests from drivers - http://localhost:8080/list-car-requests/
- http://localhost:8080/request-car?driverId=102&carId=402
- Assign/re-assign car to driver: http://localhost:8080/assign-car/carId/503/driverId/152
- For creation/deletion of car/driver buttons are present at the ui
- Buttons are present at the ui for booking
- For cab cancellation - after booking URL will be returned in the form of json
- Request Car from Driver - http://localhost:8080/request-car?driverId=102&carId=402
- Withdraw from system - http://localhost:8080/delete-driver?id=102
- You can change server port by setting properties in application.properties file i.e.
- #server.port=8081
- Only 3 capacities allowed in the system ( 3,4,5), throws exception if not in the range.
- Database scheme diagram is also present (Location: cab-service/Database Schema Diagram.png.