add an event listener that calls signMeIn() when your login button is clicked
export if needed
Inside main.js, import apiKeys from './helpers/apiKeys.json';
inside your init function call firebase.initializeApp(apiKeys.firebaseKeys);
You will now get a popup box when the login button is clicked, but when you log in the browser throws an error. If you follow that link, and use your email address as the customer support email, and accept you should be able to log in successfully.
Firebase Realtime Database Install 🚀
</>
)npm install --save firebase
apiKeys.json
, @src/javascripts/helpers
.gitignore
, and import when needed(Add a file named
apiKeys.example.json
with empty values for reference.)inside auth.js, and
main.js
, on top of the file import firebase from'firebase/app';,
andimport 'firebase/auth';
in auth.js make a new function named
signMeIn()
which will call a popup window to log into google when calledadd an event listener that calls
signMeIn()
when your login button is clickedexport if needed
Inside
main.js
, importapiKeys
from'./helpers/apiKeys.json';
inside your init function call
firebase.initializeApp(apiKeys.firebaseKeys);
You will now get a popup box when the login button is clicked, but when you log in the browser throws an error. If you follow that link, and use your email address as the customer support email, and accept you should be able to log in successfully.