Here is a quick demo video about how it works.
- clone the repo
- pip install -r .\requirements.txt
- create your own
.env
file - paste these lines in it:
db_username = "your_userid"
db_password = "your_pass"
db_cluster = "cluster0.777"
- replace the credentials with yours.
python .\app\main.py
- open in your browser: http://localhost:8000/docs
Under the .\examples\
folder there are some examples like delete.html
and login.html
to show how a request towards the API should look like.
You can serve them with python by:
cd .\examples
python -m http.server 3000