This is the source code used in this video: Getting started with Firebase Authentication on the web.
- Install the Firebase CLI tools and the Firebase Emulator suite (instructions)
-
Clone the repository
-
Navigate into the root folder of this project
-
Install the dependencies
$ npm install
-
Run webpack to bundle your code:
$ npx webpack
-
Run the Firebase Emulator to host your app locally:
$ firebase emulators:start
-
Sign up using an email address and password of your choice (e.g.
[email protected]
) -
Navigate to
http://localhost:4000/auth
to see the newly created user in the Firebase Authentication Emulator UI -
Go back to the app, and sign out
-
Sign in using the credentials you used to create the test account