BookCab
BookCab copied to clipboard
Shared cab booking application using bellman ford algorithm and google maps with web3 based payment system

OSMD Book Cab (One Source Multiple Destination)
-
About Project
-
Working
- Login
- Booking Cab
- Your Bookings
- Accepted Bookings
- Individual Bookings
- Chat Functionality
-
Getting Started
- How to Add Google Maps Api
- How to Add Redis Host
- Setup And Run the Application
About OSMD Book Cab
-
Book Cab is a web app that optimizes the rideshare booking approach. This app serves as a single source to help users find the shortest path for multiple destination, shared rides.
-
The goal of this project is to figure out the shortest feasible path from a given starting point using an algorithm. The performance of the developed algorithm will be studied for practical use.
How it Works
- Works on Bellman-Ford algorithm to compute shortest and optimized path by considering each location as a vertex of the graph.
- The booking is then paired with max 4 people based on the route and low cost.
What is Bellman-Ford Algorithm
The Bellman–Ford algorithm is an algorithm that computes shortest paths from a single source vertex to all of the other vertices in a weighted digraph.
Features and Interfaces
-
Registration page
-
Booking page
-
Your bookings
-
Bookings accepted
- Booking accepted but payment pending

- paying using ethereum (SepoliaETH)

-
Bookings accepted
- Booking info of individuals who will be sitting in the same shared cab.

-
Your route
- See your route on your bookings accepted page.

-
Chat Functionality
Getting Started
-
Add google maps API.
- Create your billing account at google maps platform (google console).
- Generate Api key to access the services.
- Add the api to .env file.
-
Setup using docker
docker-compose builddocker-compose up
-
Setup
pip install -r requirements.txtpython server.py
-
Run Tests using pytest
pip install pytestpython -m pytest



