https://github.com/atmegabuzz/bookcab
Shared cab booking application using bellman ford algorithm and google maps with web3 based payment system
https://github.com/atmegabuzz/bookcab
blockchain flask python web3
Last synced: 3 months ago
JSON representation
Shared cab booking application using bellman ford algorithm and google maps with web3 based payment system
- Host: GitHub
- URL: https://github.com/atmegabuzz/bookcab
- Owner: AtmegaBuzz
- Created: 2022-11-10T13:52:20.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-04-18T15:36:03.000Z (about 1 year ago)
- Last Synced: 2025-04-14T17:05:18.293Z (3 months ago)
- Topics: blockchain, flask, python, web3
- Language: JavaScript
- Homepage:
- Size: 5.41 MB
- Stars: 31
- Watchers: 1
- Forks: 10
- Open Issues: 12
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# OSMD Book Cab (One Source Multiple Destination)
- [About Project](#About-Project)
- [Working](#Working)
- [Login](#Login)
- [Booking Cab](#Booking-Cab)
- [Your Bookings](#Your-Bookings)
- [Accepted Bookings](#Bookings-Accepted)
- [Individual Bookings](#Individual-Bookings)
- [Chat Functionality](#Chats)- [Getting Started](#Getting-Started)
- [How to Add Google Maps Api](#oogle-api)
- [How to Add Redis Host](#redis-host)
- [Setup And Run the Application](#run)# 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
1. Registration page
- 2. Booking page
- 3. Your bookings
- 4. Bookings accepted
- Booking accepted but payment pending
- 
- paying using ethereum (SepoliaETH)
- 5. Bookings accepted
- Booking info of individuals who will be sitting in the same shared cab.
- 5. Your route
- See your route on your bookings accepted page.
- 
6. Chat Functionality
- ## Getting Started
- #### Add google maps API.
- Create your billing account at [google maps platform](https://mapsplatform.google.com/) (google console).
- Generate Api key to access the services.
- Add the api to .env file.- #### Setup using docker
- ````docker-compose build````
- ````docker-compose up````- #### Setup
- ```pip install -r requirements.txt```
- ```python server.py```- #### Run Tests using pytest
- ```pip install pytest```
- ```python -m pytest```