- Create a new virtual environment with:
python3 -m venv env
- Activate your virtual environment with:
source env/bin/activate
- Install necessary dependencies:
pip install -r requirements.txt
- Enter the following commands in the terminal:
cd api
source env/bin/activate
uvicorn main:app --reload
- Navigate to
localhost:8000
on your browser
localhost:8000/get_all_names/
localhost:8000/get_all_cities/
localhost:8000/video/?name=NAME_HERE
localhost:8000/intersection/?name=NAME_HERE
localhost:8000/city/?name=CITY_NAME_HERE