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.
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.