Skip to content

ElahiAli/Authentication_JWT_DRF

Repository files navigation

Authentication_API_JWT_DRF

Endpoints:

  • localhost/auth/register
  • localhost/auth/login
  • localhost/auth/user
  • localhost/auth/resend-email

Permissions:

  • register : anyone
  • login : anyone
  • user : need Authentication
  • resend-email : anyone

More:

  1. after user registration, system would send an email for him and he can confirm his account.
  2. without verifying account, user can't login.
  3. password can't be less than 8 and shouldn't be all numeric

Installing requirements.txt:

pip install -r requirements.txt

Initial Database:

python manage.py makemigrations
python manage.py migrate

Create Superuser

python manage.py createsuperuser

Run Application:

python manage.py runserver

About

This web application make Authentication easier because it already has some endpoint like register, login,email verification ,resend email

Topics

Resources

Stars

Watchers

Forks

Contributors

Languages