Course lesson
It would be great to show a list of shops that a vendor has created. To do this we will need to create a new query getShopsByOwnerId that accepts a string that will be our user id. Like before, we'll merge this schema change into Fauna and update our roles to...
It would be great to show a list of shops that a vendor has created. To do this we will need to create a new query getShopsByOwnerId that accepts a string that will be our user id. Like before, we'll merge this schema change into Fauna and update our roles to make this request.
On the frontend we'll create a shop list component and pass in the user token that Auth0 gives us for the logged in user.
Course lesson
It would be great to show a list of shops that a vendor has created. To do this we will need to create a new query getShopsByOwnerId that accepts a string that will be our user id. Like before, we'll merge this schema change into Fauna and update our roles to...