tda555666 / SMD

0 stars 0 forks source link

make AddEditToDo to work #7

Closed svetaslava closed 2 months ago

svetaslava commented 2 months ago

1 - complete the form 2 - write all the function onChange and onSubmit 3 - from onSubmit function send post request to the server to add task (use header with access token) 4 - now in backend create function addTask/createTask --- this function should add task to db after access token verified and send succses response to react.
5 - redirect / refersh to the list of tasks