-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Labels
acceptedThe issue is accepted and PRs are welcomeThe issue is accepted and PRs are welcomeenhancementNew feature or requestNew feature or request
Milestone
Description
Description
When the user logs in, create a database entry for them if it does not already exist.
Collection: users
Document ID: The user's Firebase Auth ID
Document Data:
{
created: Date; // The date at which the document is created
connected_accounts: {
github: String; // The user's GitHub user ID
}
}User Story
As a user
I want to have a database entry
So that I data can be stored about me
Notes
- Firebase's
serverTimestamp()method should be used for thecreatedfield - The user's GitHub ID can be accessed using the
uidfield within theproviderDataarray on a user's auth account. Use theproviderDataentry which has aproviderIdofgithub.
Metadata
Metadata
Assignees
Labels
acceptedThe issue is accepted and PRs are welcomeThe issue is accepted and PRs are welcomeenhancementNew feature or requestNew feature or request