As a user, when I launch the application, I should be able to log in using my google account
Development
Create a firebase project and export the apiKeys.json into your project in the src/data/ path. Add this file to your git ignore
Create a connection.js file that follows the format laid out in a previous firebase project. This will use your apikeys.json to establish a connection to firebase
In the App.js file, import the connection.js file and run the function at the very top of the file outside of the App component.
Within the App component, copy paste all relevant firebase functions from a previous firebase project (logmein, logmeout, etc.)
Within the src/data/ path, create a UserData.js file. This file will contain two functions:
One function CheckUser()to check if a user already has an account (return 0 if firebase ID not found in database)
A function CreateUser() to add a new row for a user if it is determined that a user does not yet have an account
The CheckUser() function should be called in the render section of the App component (if it is not done this way you run into asynchronous issues with React state).
User Story
As a user, when I launch the application, I should be able to log in using my google account
Development