Skip to content

nebulaanish/Django-api-authentication-template-using-djoser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 

Repository files navigation

Django JWT auth template with djoser

It is a readymade template for getting started quickly with authentication APIs in Django. The project is setup using Django & PostgreSQL. Djoser package is used along with simplejwt to handle JWT token based authentication. You can access the API documentation from this link. For detailed understanding of available APIs and modifications, visit the djoser official docs.

Features

  • Custom User with email login.
  • JWT authentication.
  • Send mail for account create confirmation, forget password and more.

Get started

  1. Clone repository.
    $ git clone <link-to-repository>
  2. Create vitural environment inside the backend folder.
    $ python -m venv .venv
  3. Activate the virtual environment
    • On Linux/Mac: $ source .venv/bin/activate
    • On Windows: $ venv\Scripts\activate
  4. Install required dependencies.
    $ pip install - requirements.txt
  5. Create .env at same level as manage.py.
  6. Add the required credentials.
  7. Run server and access the apis.
    $ python manage.py runserver

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages