Metadata-Version: 2.4
Name: ride-booking-backend
Version: 1.0.0
Summary: A production-ready FastAPI backend for ride-booking applications
Author-email: Shivay Singh <shivaysinghrajputofficial@gmail.com>
License: MIT
Project-URL: Homepage, https://github.com/Shivay00001/ride-booking-system
Project-URL: Repository, https://github.com/Shivay00001/ride-booking-system
Keywords: fastapi,ride-booking,taxi-service,api,backend
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Framework :: FastAPI
Classifier: Topic :: Internet :: WWW/HTTP :: HTTP Servers
Requires-Python: >=3.9
Description-Content-Type: text/markdown

# 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

```bash
pip install ride-booking-backend
```

## 🛠️ Quick Start

```python
import uvicorn
from server import app

if __name__ == "__main__":
    uvicorn.run(app, host="0.0.0.0", port=8000)
```

## 📄 License

MIT License
