A production-ready FastAPI backend for ride-booking applications
Project description
Ride Booking Backend
A production-grade FastAPI backend for ride-booking applications, providing a shared data layer for both passenger and driver apps.
🚀 Features
- Full Auth System: Registration and login for both passengers and drivers.
- Ride Lifecycle: Request, accept, start, complete, and cancel rides.
- Location Logic: Coordinate-based distance calculation and fare estimation.
- Rating System: Peer-to-peer reviews and rating calculations.
- Payment Integration: Support for payment processing and earnings tracking.
- Persistent Storage: SQLAlchemy with SQLite support (default).
✨ Key APIs
/api/auth/register&/api/auth/login/api/rides/request&/api/rides/available/api/rides/{id}/accept&/api/rides/{id}/start&/api/rides/{id}/complete/api/users/{id}/profile&/api/users/{id}/rides/api/payments&/api/reviews
📦 Installation
pip install ride-booking-backend
🛠️ Quick Start
import uvicorn
from server import app
if __name__ == "__main__":
uvicorn.run(app, host="0.0.0.0", port=8000)
📄 License
MIT License
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ride_booking_backend-1.0.0.tar.gz.
File metadata
- Download URL: ride_booking_backend-1.0.0.tar.gz
- Upload date:
- Size: 6.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
25219f261943edad2d1a6c4c1fae66a860b476cc73a9cc4f633a2964b0e619d5
|
|
| MD5 |
ac463030ef3662a60c4002c797d3fc41
|
|
| BLAKE2b-256 |
7ca53784744d9118433b6ef51908f7097e45c8a85fa68912b663c9ece14871da
|
File details
Details for the file ride_booking_backend-1.0.0-py3-none-any.whl.
File metadata
- Download URL: ride_booking_backend-1.0.0-py3-none-any.whl
- Upload date:
- Size: 6.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e1630cbc7c15305f8aa06056ec54a5cfea0d53e121dbd66cc50733bbf03b4468
|
|
| MD5 |
aa824d5001d37b9e2031835ac9619005
|
|
| BLAKE2b-256 |
89eb20464219103b4414e51e7489c68cd85a15746020f1340210c6ff02ec66d3
|