tyrakriv / Spring307-8amMWF-Team2

0 stars 0 forks source link

User Token Authentication #53

Closed blaxson closed 4 years ago

blaxson commented 4 years ago

TODO

add a user token to the front end of the website that gets saved into local storage to give the UI the unique data per user. This token will get sent to the backend on api calls so that the backend sends the correct information (journal entries, profile, etc) to the frontend.

Estimated Cost / Time:

Medium

Measure of Success:

An effective measure of success would be to console log the token after logging into the web app to ensure the token got saved to local storage. We can also write a unit test for the backend creation of the token to ensure the token is well formatted before sending it to the frontend.