A C++ console application build to develop a backend clone quite similar to that of Uber/OLA.
Technologies Used:
- C++ console application.
- MySql Database.
Features
- Reusable functions that perform CRUD operations & can be reused depending upon queries.
- After a driver registers, he first has to be verified by Employee before being able to start taking trips,which is also a part of software.
- A trip linked with a particular driver depending upon the source of customer and the driver's current location.
- After succcessful completion of trip the parameters of Driver like (Current Location,Number Of Trips,Reviews,Booking) gets updated.
- Reviews taken from customer and updated in driver database.
ID Generation(Unique)
- ID for new driver and customer generated by getting a mex value, so that ID lost by drivers removed can be reused.
- ID for new trips generated in an increasing order since all trips till date are stored in database and we want no duplicacy.
Database
- Driver Table
- Customer/Passenger Table
- New Trips Table(Contains records of New Trips By registered Customers)
- Booked Trips Table(Contains records of trips accepted by drivers in nearby region)
- Past Trips(Whole Collection of Trips Done Till Now that can be queried upon by Driver as well as Customer)
CRUD operations performed using MySQL syncronous queries.