Welcome to Django-Backend-Auth-Api’s documentation!

###Setup your project 1. Create you django api project in my case my project name is backend

Your project seems like this:

backend/

__init__.py settings.py urls.py wsgi.py

manage.py requirements.txt

  1. Install the package in command line on your project directory like this:

    cd backend/ after activate your virtual environment pip install django-backend-auth-api == 0.2

  2. Add “authapi” to your INSTALLED_APPS setting like this:

    INSTALLED_APPS = [

    … ‘authapi’,

    ]

  3. Include the authapi URLconf in your project urls.py like this:

    path(‘authapi/’, include(‘authapi.urls’)),

  4. Run python manage.py migrate to create the authapi models.

  5. Visit http://127.0.0.1:8000/authapi/ to see all urls related to a backend authentication.

Indices and tables