- python -m venv venv
- source venv/bin/activate
- pip install django
- pip install djangorestframework
- django-admin startproject storage .
- django-admin startapp api
- add 'api.apps.ApiConfig' and 'rest_framework' in INSTALLED_APPS in settings.py
- write your models
- write the admin.py
- python manage.py makemigrations
- python manage.py migrate
- python manage.py createsuperuser
- python manage.py runserver
- touch api/urls.py
- touch api/serializers.py
- add path('api/', include('api.urls')) in storage/urls.py
- write the api/serializers.py
- write the api/urls.py
- write the api/views.py
- pip freeze > requirements.txt
- deactivate - for deactivate the virtual environment
- create .dockerignore .gitignore, Dockerfile and docker-compose.yml in root folder