How to run the API locally:
- Clone repo
virtualenv venv
source venv/bin/activate
pip install -r requirements.txt
uvicorn main:app --reload
API PUBLIC IP: 100.26.146.163
curl -X GET "http://127.0.0.1:8000/"
curl -X POST "http://127.0.0.1:8000/user" -H "Content-Type: application/json" -d "{\"username\":\"person\", \"password\":\"password\", \"email\":\"[email protected]\"}"
curl -X GET "http://127.0.0.1:8000/user?id=1"
curl -X GET "http://127.0.0.1:8000/user?username=person"
curl -X POST "http://127.0.0.1:8000/delete_user?id=4"