Create a todo list app for yourself.
Use express, jsonfile and react templates as we have been doing during the week.
You should be able to:
- see every item in your todo list (GET)
- add an item to the list - this will have the text of the thing you need to accomplish (POST)
- mark it as done (PUT)
Install all of the libraries you will need in your app.
express
jsonfile
method-override
express-react-views
react
react-dom
Your app is a todo list. Therefore the data structure that holds each list item should be an array. This setup should mirror the one for pokemon. (Which is an object with a list of pokemon inside it).
Once you have a json file then you must begin with the first logical user action- to add something to the list. (Don't begin with getting things from the list- since it will be empty at the start)
Begin this adding functionality with the first thing the user needs to see or do for this flow- which is load an HTML form.
If you want you can choose to make a shopping list app instead.
Add a recording of the time that you put the item in your todo list.
Don't allow the user to make a todo item that is empty. (Or below a minimum number of characters)
Add a recording of the time that you marked the item done.
Be able to permanently delete an item
Add "buckets" or categories that you can put each of your todo items into.
Add the ability to name each bucket/category.
Add the ability to sort the buckets by date or name