This is my 2nd project of django web framework, no that i know mostly on how this django structure api works and in this project i want to sharpen my skill again to study more on how this api works with admin api project.
Install the Django Web Framework:
pip install django
pip install djangorestframework
pip install django-filter
pip install psycopg2 # For database
pip install python-decouple # Installing python-decouple for .env:
Create the directory:
mkdir django-auth
django-admin startproject app .
django-admin startapp core
Go To settings.py and add this:
INSTALLED_APPS = [
// other lists,
"rest_framework",
"core"
]
python manage.py startapp users
python manage.py migrate
python manage.py createsuperuser --email [email protected]
List the main features of your autth server. For example:
- User authentication and authorization
- Auth Token
- 2FA Authentication
Provide step-by-step instructions for installing and setting up the project locally. Include commands and any additional configurations. For example:
git clone https://github.com/andyrhman/django-admin.git
cd node-auth
pip install -t requirements.txt