Django REST Framework Complete Authentication API.
- User Registraion
- Login User with Email and Password
- Authenticate user Profile View Only
- Change user password with authenticate token
- Reset user password with Email
To Run this Project follow below:
mkvirtualenv authenv
pip install -r requirements.txt
python manage.py makemigrations
python manage.py migrate
python manage.py runserver
There is a File "DjangoAuthAPI.postman_collection" which has Postman Collection You can import this file in your postman to test this API
Your laptop with python 3.6.x (onwards) installed.
NOTE: Those with Linux and MacOSX would have Python installed by default, no action required.
Windows: Download the version for your laptop via https://www.python.org/downloads/
NOTES In your preferred editor, make sure indentation is set to "4 spaces".
- Make sure you have Django installed in python otherwise code may fail, to install Django in your machine > open python in your terminal then type
pip install django
to install.⚠️
- Clone or download repositiory: https://github.com/eddyvk01/Django-Authentication-API
- In source folder, run
python manage.py runserver
to start program, optionally, run with--help
argument to see other runtime options.