Django-Todolist is a todolist web application with the most basic features of most web apps, i.e. accounts/login, API and (somewhat) interactive UI.
Try it out by installing the requirements. (Works only with python >= 3.8, due to Django 4)
pip install -r requirements.txt
Create a database schema:
python manage.py migrate
And then start the server (default: http://localhost:8000)
python manage.py runserver
Now you can browse the API or start on the landing page
- Fork this repository
- Prepare a
docker-compose.yml
file that will build and start both MySQL db and Todolist app - Remove RUN python manage.py migrate as the database is no longer available at the build time
- Refactor ENTRYPOINT to execute both db migration and application start. Example:
ENTRYPOINT ["sh", "-c", “command1 && command2”]
- The application should work with no issues after running docker-compose up
- Update the README.md file by adding a new section with instructions on how to run and stop containers with docker-compose
- Todos should be stored in MySQL Database, with a persistent volume connected
- Create PR with your changes and attach it for validation on a platform