This project provides a set of REST API endpoints and HTML interface for registration, authentication , password reset, retrieve JWT token on successful login.
To run this project, you will need to add the following environment variables to your .env file. If doesn't exists, create
.env file.
JWT_SECRET_KEY = "any_randomkey_for_JWT_Token"
EMAIL_USER = "yourgmailid"
EMAIL_PASS = "yourpassword"
git clone https://github.com/navi532/AuthApi.git cd AuthApiMake sure manage.py exists in current directory.
For Python 2:
pip install -r requirements.txtFor Python 3:
pip3 install -r requirements.txt(Make sure pip/pip3 is installed in your system)
python3 manage.py migrate python3 manage.py runserverTo learn about API Endpoints, start the server and go to /swagger.