Project: Todo dApp:
-
A todo should have:
- integer id
- string content
- bool completed
- address creator
-
List of Todos (Array)
-
Maps: address => integer ||| integer will gonna represent the count to todos made by a specific account address.
-
Function modifiers: onlyCreator()
-
Functions: Write Functions:
- createTodo
- toggleCompleted
- updateTodo
- deleteTodo
Read Functions:
- getAllTodos
- getUserTodos
- getTotalTodoCount