1 - High risk, please take preventative measures
0 - Low risk, no additional measures required
python3 -m venv venv
pip3 install -r requirements.txt
source venv/bin/activate
uvicorn main:app --reload
The endpoint will be available on http://127.0.0.1:8000/
You can access the API endpont and get the response using requests or any other library
requests.post(url='http://127.0.0.1:8000/', json=request_json)
To run the test cases with unittest package execute
python3 tests/test.py