Skip to content

Commit 1d3a8b6

Browse files
authored
Merge pull request #2 from FirebaseExtended/template_project
🚀 Add template project
2 parents 69dac0f + 96ef312 commit 1d3a8b6

File tree

3 files changed

+39
-0
lines changed

3 files changed

+39
-0
lines changed

_template_project/README.md

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
# Firebase Fundamentals: Getting Started with Firebase Authentication on the Web
2+
3+
This is the source code used in this video: [Getting started with Firebase Authentication on the web](https://youtu.be/rbuSx1yEgV8).
4+
5+
## Prerequisites
6+
7+
* Install the Firebase CLI tools and the Firebase Emulator suite ([instructions](https://firebase.google.com/docs/emulator-suite/install_and_configure))
8+
9+
## How to use
10+
11+
1. Clone the repository
12+
2. Navigate into the root folder of this project
13+
3. Install the dependencies
14+
15+
```bash
16+
$ npm install
17+
```
18+
19+
4. Run webpack to bundle your code:
20+
21+
```bash
22+
$ npx webpack
23+
```
24+
25+
5. Run the Firebase Emulator to host your app locally:
26+
27+
```bash
28+
$ firebase emulators:start
29+
```
30+
31+
6. Open `http://localhost:5001` in your browser
32+
![](images/login.png)
33+
7. Sign up using an email address and password of your choice (e.g. `[email protected]`)
34+
8. You should now be signed in
35+
![](images/loggedin.png)
36+
9. Navigate to `http://localhost:4000/auth` to see the newly created user in the Firebase Authentication Emulator UI
37+
![](images/auth_emulator_ui.png)
38+
10. Go back to the app, and sign out
39+
11. Sign in using the credentials you used to create the test account

_template_project/images/.gitkeep

Whitespace-only changes.

_template_project/src/.gitkeep

Whitespace-only changes.

0 commit comments

Comments
 (0)