friendlyeats-web | restaurant recommendation app built on Cloud Firestore | Authentication library
kandi X-RAY | friendlyeats-web Summary
kandi X-RAY | friendlyeats-web Summary
FriendlyEats is a restaurant recommendation app built on Cloud Firestore. For more information about Firestore visit the docs. This project is the starting point for the Cloud Firestore Web Codelab, which will show you how to build the applications step-by-step. If you'd like to simply run the finished result, see the quickstart app.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Facts on the filter .
friendlyeats-web Key Features
friendlyeats-web Examples and Code Snippets
Community Discussions
Trending Discussions on friendlyeats-web
QUESTION
I am trying to figure out how to get a user name which is an attribute stored in a user collection, which has been merged with the attributes created by the firebase authentication model.
I can access authUser - which gives me the limited fields firebase collects in the authentication tool, and then I'm trying to get from there to the related user collection (which uses the same uid).
I have a react context consumer with:
...ANSWER
Answered 2020-Jan-09 at 07:25I understand from the last line of your question (users = () => this.db.collection('users');
) that the collection where you store extra info on the users is called users
and that a user document in this collection uses the userId (uid) as docId.
The following should do the trick (untested):
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install friendlyeats-web
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page