This application is currently fully functional, but if you reload the page, none of the to-do items are saved. We need to store the to-do values on the backend.
- You can add todo by adding text and clicking on add button
- you can delete todos by clicking on delete button
- you can mark the task as completed by clicking on the "Complete" button.
- When you add the todo make a POST request to backend and store the todo in the databsae
- When you reload the page make a GET request from backend and populate the TODO that you previously stored
- When you delete the task make sure to delete in the backend as well
- Reload the page and see if the task is deleted
- When you click on "Complete" the task should be marked as complete and should be presisted in backend as well
- Reload the page and see if the task is complete
- Checkout todo.py which act as a database model file.
- Create Email/password based authentication and allow to read only if the user is not logged in.