This is a to-do list web application with the basic features of most web apps, i.e., accounts/login, API, and interactive UI. To do this task, you will need:
Try it out by installing the requirements (the following commands work only with Python 3.8 and higher, due to Django 4):
pip install -r requirements.txt
Create a database schema:
python manage.py migrate
And then start the server (default is http://localhost:8000):
python manage.py runserver
You can now browse the API or start on the landing page.
Create a Kubernetes manifest for a pod that will contain a ToDo app container:
- Fork this repository.
- Create a
confgiMap.yml
file for ConfigMap resource. - ConfigMap requirements:
3.1. ConfigMap should have a
PYTHONUNBUFFERED
value set 3.2. Deployment should use this ConfigMap and set thePYTHONUNBUFFERED
environment variable - Create a
secret.yml
file for the Secret resource. - Secret requirements:
5.1. Secret should have a
SECRET_KEY
value set 5.2. Deployment should use this Secret and set theSECRET_KEY
environment variable 5.3. Application should use this secret instead of one hardcoded insettings.py
- Create the
INSTRUCTION.md
with commands to apply all the changes INSTRUCTION.md
should have instructions on how to validate the changes- Create PR with your changes and attach it for validation on a platform.