A ready to use authentication system devekoped using FastAPI framework
This code exposes the following endpoints:
/api/register/
/api/login/
/api/valid/
To test register api:
-
curl -X POST "http://localhost:8000/api/register/?username={USERNAME}&password={PASSWORD}" -H "accept: application/json" -d ""```
To test login api:
-
curl -X POST "http://localhost:8000/api/login/?username={USERNAME}&password={PASSWORD}" -H "accept: application/json" -d ""```