GIVEN a user wants to use Nutshell
THEN the user should see a google auth button
AND when they click on it
AND they should see a form element to add a username
AND the username should save to the users firebase collection
Dev Notes
Firebase API keys were added to the project during Setup
In Firebase, set up sign-in method for users to sign in using Google credentials
On the home page create a Google button to click for login.
In src >> components >> auth >> auth.js write a function signMeIn that uses a popup to sign in with Google through Firebase
Write a function authStringBuilder that adds an eventlistener to the Google auth button on the dashboard home screen and calls signMeIn on click
User Stories
As a user, I should be able to login to nutshell.
Acceptance Criteria
GIVEN a user wants to use Nutshell THEN the user should see a google auth button AND when they click on it AND they should see a form element to add a username AND the username should save to the users firebase collection
Dev Notes
signMeIn
that uses a popup to sign in with Google through FirebaseauthStringBuilder
that adds an eventlistener to the Google auth button on the dashboard home screen and callssignMeIn
onclick