Setup

Set up venv (optional)

Install virtual env

pip install virtualenv

Creating virtual env

virtualenv venv

Activate virtual env

source venv/bin/activate

Install dependencies

From requirements file

pip install -r requirements.txt

Or

pip install fastapi mongomock aiohttp pymongo uvicorn requests

Run the project

uvicorn app:app --port 8080 --reload