Skip to content

Latest commit

 

History

History
27 lines (24 loc) · 1.17 KB

README.md

File metadata and controls

27 lines (24 loc) · 1.17 KB

Signup in Django, DRF, and VueJS2 using OTP

This project is used for creating user signup in Django, and Django Rest Framework by using OTP
And limiting the OTP sending to 3 times. After 3rd OTP user can request a new OTP after an hour.

To run the backend project

Prerequisites: Python3, virutalenv

  1. Checkout the code and nagivate inside backend/ dir
  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:

Part 1: https://youtu.be/41YtXPA-Jjg
Part 2: https://youtu.be/vrTMrGsyLBQ
Part 3: https://youtu.be/eqNzSLhIUtk
Part 4: https://youtu.be/O7kskU-3ZIM
Part 5: https://youtu.be/o6EoVxQ1yoQ
Part 6: https://youtu.be/HxreYeaKP0c
Part 7: https://youtu.be/a7-YnjyOn_8
Part 8: https://youtu.be/iQGh2AHksIE