Spaces:
Sleeping
Sleeping
|
Download backend/README.md from Rohxn08/ZipRoute-API: direct link, hf CLI and curl.
- Browser
- Download file 833 Bytes
-
https://huggingface.co/spaces/Rohxn08/ZipRoute-API/resolve/main/backend/README.md
- Command line
-
hf download hf://spaces/Rohxn08/ZipRoute-API/backend/README.md
-
curl -L -o README.md https://huggingface.co/spaces/Rohxn08/ZipRoute-API/resolve/main/backend/README.md
833 Bytes
Backend - Delivery Route Optimizer
This directory contains the Python FastAPI backend for the project.
Prerequisites
- Python 3.9+
- pip
Setup
- Create a virtual environment:
python -m venv venv source venv/bin/activate # Windows: venv\\Scripts\\activate - Install dependencies:
pip install -r ../requirements.txt - Set up Environment Variables:
- Create a
.envfile referencing.env.example. - See Google API Setup for API keys.
- See Gmail Setup for email features.
- Create a
Running the Server
uvicorn main:app --reload --host 0.0.0.0 --port 8000