yenly / smart-shopping-list

An exercise in walking in mentees' shoes to understand and empathize.
https://yenly-smart-shopping-list.netlify.app
1 stars 0 forks source link

Create user token and store to localStorage #17

Closed yenly closed 3 years ago

yenly commented 3 years ago

Description

Create a user token and store it on local storage to associate with a shopping list.

Related Issue

Closes #3

Acceptance Criteria

Type of Changes

Type
:bug: Bug fix
:sparkles: New feature
:hammer: Refactoring
:100: Add tests
:link: Update dependencies
:scroll: Docs

Testing Steps / QA Criteria

  1. Navigate to yenly-smart-shopping-list.netlify.app.
  2. Click on Create new list
  3. Check URL to see it has changed to yenly-smart-shopping-list.netlify.app/list and notice nav link List on the bottom of viewport changed to bold.
  4. Click on Home link and noticed the view hasn't changed.
  5. Use developer tools under Application/Local Storage to remove shoppingListAppUser token.
  6. Navigate to Home view and notice the Create new list is present