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.
- Use
kind
to spin up a cluster from acluster.yml
configuration file. - Run bootstrap.sh to deploy the app to the cluster and to install ingress controller.
- Create a
ingress.yml
file forIngress
to manage ingress traffic. Ingress
requirement:Ingress
file should be located in./infrastructure/ingress
directoryIngress
should have 1 http ruleIngress
should have 1 path based rule- Rule should route traffic to the app on
/
path - Rule should capture path and forward it to the app.
path: {your_regex}
- After ingress deployment you should be able to access the app on
http://localhost
and see the app running. - There should not be any requests failing with 404 status code in browser console.
README.md
should have instructuions on how to validate the changes- Create PR with your changes and attach it for validation on a platform.