Skip to content

Files

Latest commit

 

History

History

_template_project

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Firebase Fundamentals: Getting Started with Firebase Authentication on the Web

This is the source code used in this video: Getting started with Firebase Authentication on the web.

Prerequisites

  • Install the Firebase CLI tools and the Firebase Emulator suite (instructions)

How to use

  1. Clone the repository

  2. Navigate into the root folder of this project

  3. Install the dependencies

    $ npm install
  4. Run webpack to bundle your code:

    $ npx webpack
  5. Run the Firebase Emulator to host your app locally:

    $ firebase emulators:start
  6. Open http://localhost:5001 in your browser

  7. Sign up using an email address and password of your choice (e.g. [email protected])

  8. You should now be signed in

  9. Navigate to http://localhost:4000/auth to see the newly created user in the Firebase Authentication Emulator UI

  10. Go back to the app, and sign out

  11. Sign in using the credentials you used to create the test account