This project was done with FastApi and Uvicorn.
In the project directory, you can run:
pip install fastapi
pip install uvicorn
To run the backend server we need to use Uvicorn for that to instantiate the required REST API.
uvicorn main:app
which will select a random port on bootup
for specific port you can do the following:
uvicorn main:app --reload --port:8000
Note: The server will reload if you make edits on the code due to --reload
flag.