This is a simple FastAPI-based backend service that matches users with available bikes nearby based on their location and riding preferences.
- Accepts user location and preferences via an API request
- Finds available bikes near that location
- Returns the best matches (based on availability, type, etc.)
- FastAPI β Lightweight Python web framework
- Uvicorn β ASGI server for running the app
- Pytest β For testing the API endpoints
- Clone the repo: git clone https://github.com/YOUR_USERNAME/YOUR_REPO_NAME.git cd YOUR_REPO_NAME 2.Create a virtual environment: python -m venv venv source venv/bin/activate # On Windows: venv\Scripts\activate 3.Install dependencies: pip install -r requirements.txt 4.Run the API: uvicorn app.main:app --reload