Skip to content

(Week 2) Monica & Nikema (As a user, I want to set up a new shopping list)

Nikema Prophet edited this page Dec 26, 2019 · 14 revisions

Project Brief: https://github.com/the-collab-lab/tcl-3-smart-shopping-list/blob/master/PROJECT-BRIEF.md

Our Story This Week: https://github.com/the-collab-lab/tcl-3-smart-shopping-list/issues/25

A shopping list consists of a set of items associated with a user’s token. Tokens can be shared with other users to allow them to co-manage a given list. Creating a new list consists of the following:

[ ] Generate a new unique token
[ ] Save the token to localStorage
[ ] Show the user the list view

The following script can be used to generate a suitable token: https://gist.github.com/segdeha/21a42618ce5a54916c5b58d36ec2992e


We meet today! I don't know where to start yet.

TODO: Create the branch for this story

local storage resources: https://www.robinwieruch.de/local-storage-react


Pairing Session (12/25)

  • We were able to import the token.js file to the project and generate a token that was displayed in a component.

https://github.com/the-collab-lab/tcl-3-smart-shopping-list/commit/2ab6343f8873cce3328226830e8c2c07f0fd8032