Closed svetaslava closed 2 weeks ago
send with request the header , Authorization : ' Bearer {here needs to be the access token} '. needed access token to get the tasks and show the specific tasks of the user
server -- in the server there need to be function 'verify'={it should be middleware and it should check the validity of access token and if it not valid , send message about it } 'getTasks'={it should return the tasks that are refered to the current connected user }-- we get to this function only when after verify set that the token is okay
done
fetch from server the list of tasks , and show them.