-
Notifications
You must be signed in to change notification settings - Fork 0
(Week 3) Amber & Nikema (As a user, I want to set up a new shopping list)
Finishing up the story from last week - https://github.com/the-collab-lab/tcl-3-smart-shopping-list/wiki/(Week-2)-Monica-&-Nikema-(As-a-user,-I-want-to-set-up-a-new-shopping-list)
PR: https://github.com/the-collab-lab/tcl-3-smart-shopping-list/pull/47
This is a great start, but is a little incomplete. Importantly, from the story description:
A shopping list consists of a set of items associated with a user’s token.
What I'd like to see added to what you have is the following:
Once the user has a token, redirect them back to / (our list view)
On the list view, show only items associated with the user's token (should be able to add this as a parameter to the Firestore query)
You may need to add some records to the database directly to get them to display. In the next set of stories, we'll address adding items to the list in a way that stores the user's token as well (I'm a bit confused how that's already implemented because that story hasn't come up yet)
It looks like we will need to interact with Firebase to associate the user token with the list items. I will start looking at documentation and share anything I find that's relevant. Also, I will go back and study the earlier work to see how Firebase is set up in our project. --Nikema
12/30 - I watched this video and didn't code along but it I found it helpful to see how to make an app from scratch with Firebase and React. I know some of this is already in place from the first week in our app. Firebase Tutorial With React Hooks
More Resources I'm looking at:
- Getting Started With Cloud Firestore on the Web - Firecasts
- Getting Started with Firebase on the Web
- Official Cloud Firestore for Web documentation
- React Firestore The current list on the app is using this set of components
--Nikema