This is a todo list web application with 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
Now you can browse the API or start on the landing page.
Create a kubernetes manifest for a pod which will containa ToDo app container:
- Fork this repository.
- Create a
confgiMap.yml
file for ConfigMap resource. - ConfigMap requirements:
3.1. ConfigMap should have a
PYTHONUNBUFFERED
values set 3.2. Deployment shoyld use this ConfigMap and setPYTHONUNBUFFERED
environment variable - Create a
secret.yml
file for Secret resource. - Secret requirements:
5.1. Secret should have a
SECRET_KEY
value set 5.2. Deployment should use this Secret and setSECRET_KEY
environment variable 5.3. Application should use this secret instead of one hardcoded insettings.py
README.md
should have commands to apply all the changesREADME.md
should have instructuions on how to validate the changes- Create PR with your changes and attach it for validation on a platform.