File size: 833 Bytes
b42db06
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Backend - Delivery Route Optimizer

This directory contains the Python FastAPI backend for the project.

## Prerequisites
- Python 3.9+
- pip

## Setup
1. Create a virtual environment:
   ```bash

   python -m venv venv

   source venv/bin/activate  # Windows: venv\\Scripts\\activate

   ```
2. Install dependencies:
   ```bash

   pip install -r ../requirements.txt

   ```
3. Set up Environment Variables:
   - Create a `.env` file referencing `.env.example`.
   - See [Google API Setup](../docs/GOOGLE_API_SETUP.md) for API keys.
   - See [Gmail Setup](../docs/GMAIL_SETUP.md) for email features.

## Running the Server
```bash

uvicorn main:app --reload --host 0.0.0.0 --port 8000

```

## Documentation
- [Testing Guide](../docs/BACKEND_TESTING_GUIDE.md)
- [Ngrok Setup](../docs/NGROK_SETUP_GUIDE.md)