jha-shubham01 / django-drf-login

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Django & Django Rest Framework login

This project is created to help dev's in creating api using Django and Django Rest Framework to login and generate Tokens.

To run the project

Prerequisites: Python3, virutalenv

  1. Checkout the code
  2. Create a virtual environment (virutalenv .env)
  3. Activate the environment (source .env/bin/activate)
  4. Install all the packages (pip install -r requirements.txt)
  5. Navigate inside the project (cd src)
  6. Migrate (python manage.py migrate)
  7. Create a superuser (python manage.py createsuperuser)
    Fill in all the details on the terminal to create the superuser
  8. Run the backend server (python manage.py runserver)
  9. Visit the server link (http://localhost:8000/)

Video Example:

https://youtu.be/ARy_ozfWj-I

About


Languages

Language:Python 100.0%