Author: Rishabh Karajgi
Steps:
- Set up a virtual environment
virtualenv venv
source venv/bin/activate
- Install dependencies
pip install -r requirements.txt
- Run app
uvicorn main:app --reload
- API docs
http://127.0.0.1:8000/docs
- To run tests
pytest test_main.py
You can add test json data in test_data.json
Make sure to modify test variables
in test_main.py
Postman collection link
https://www.getpostman.com/collections/221e675cebcf1fc16655