/Django-Authentication-API

Django REST Framework Complete Authentication API.

Primary LanguagePython

Authentication-API forthebadge

python License

Django REST Framework Complete Authentication API.

What Can We do from REST-API ?

  1. User Registraion
  2. Login User with Email and Password
  3. Authenticate user Profile View Only
  4. Change user password with authenticate token
  5. Reset user password with Email

How to use:

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

PRE-REQUISITES

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. ⚠️

Run using Python3.8+

  1. Clone or download repositiory: https://github.com/eddyvk01/Django-Authentication-API
  2. In source folder, run python manage.py runserver to start program, optionally, run with --help argument to see other runtime options.

ThankYou!