Skip to main content

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

Metadata

Release files for ride-booking-backend 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ride-booking-backend 1.0.0
File Size Uploaded Provenance
ride_booking_backend-1.0.0.tar.gz 6.4 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for ride-booking-backend 1.0.0
File Interpreter ABI Platform
ride_booking_backend-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 13.1 kB

Release files / ride_booking_backend-1.0.0.tar.gz

Download URL ride_booking_backend-1.0.0.tar.gz
Size 6.4 kB
Tags Source
SHA-256 checksum
How to use checksums
25219f261943edad2d1a6c4c1fae66a860b476cc73a9cc4f633a2964b0e619d5
BLAKE2b-256 checksum
How to use checksums
7ca53784744d9118433b6ef51908f7097e45c8a85fa68912b663c9ece14871da
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.6

Release files / ride_booking_backend-1.0.0-py3-none-any.whl

Download URL ride_booking_backend-1.0.0-py3-none-any.whl
Size 6.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e1630cbc7c15305f8aa06056ec54a5cfea0d53e121dbd66cc50733bbf03b4468
BLAKE2b-256 checksum
How to use checksums
89eb20464219103b4414e51e7489c68cd85a15746020f1340210c6ff02ec66d3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.6

Security for ride-booking-backend 1.0.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page