I want to create a simle online todo list where I can fill in 2 fields for example “date” and “task” hit submit and then add it to a list. Here’s a quick mockup:
“date” = __________
“task” = __________
date: 16/07/2018 task: do laundry
date: 15/07/2018 task: go shopping
date: 15/07/2018 task: work out
The question I have is what I will have to learn for this project. I think I need mongoDB/mongoose to create a database and store all of my list items and nodeJS for the backend, are there any more I need to know?
I can create a backend app that has pretty much the right functionality but I can only interact with it (add/delete list items) via my console and only store it in a json file, and I can create a front end app that looks right. How can I connect the two and create
- clickable buttons to remove a list item,
- a text field that will add an object with a date and a name to my json file
- a way to convert every object in my json file into its own todo list item with border and style etc.
I dont really need specific answers just a few keywords I can look up that I will need tto use for my project.
thanks in advance