Django is a python based framework for web app development.

Install Django

python3 -m pip install Django

Setting up a project:

django-admin startproject project-name

Starting the dev server:

python3 manage.py runserver

Create an app:

python3 manage.py startapp app-name

Migrate models to the database:

python3 manage.py makemigrations 
python3 manage.py migrate

Databases:

Environment variables:

Django Views: Views take in an HttpRequest as a parament and return an HttpResponse. The HttpRequest can contain GET and POST data that can be used when constructing the view or responding to the request.

Django code:

Deployment:

Django Rest Framework:

Authentication: