website/api
2021-12-24 20:46:27 +05:30
..
api hack to get rid of __pycache__ 2021-12-24 20:46:27 +05:30
README.md django init 2021-12-24 20:08:42 +05:30
requirements.txt add apps, basic routing, req.txt 2021-12-24 20:44:01 +05:30

Api

Develop

  • Assumes you have git cloned the repositiory.

Deps and Dev Env

  • Developed on python 3.10.1
  • Setting up a venv
  • ensure django 4 is installed
  • cd /api/
  • django startproject api
  • Ensure deps are in order. pip install -r requirements.txt
  • source .env (called by settings.py)

Config

Primaril refers to the envars and configs defined in settings.py.

Such as:

  • added library declaration
  • Authentication middleware
  • Storage of static and media files
  • Access origin control
  • Logging
  • etc..