Skip to content

Commit 996ff6c

Browse files
committed
Challenges
1 parent e8566f7 commit 996ff6c

File tree

5 files changed

+91
-0
lines changed

5 files changed

+91
-0
lines changed

cloud-firestore/challenge.md

+2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# Challenge
22

3+
## Cloud Firestore
4+
35
## Find the repo
46

57
We'll be working on a branch of our [firelist-react](https://github.com/how-to-firebase/firelist-react) repo named [challenge-firestore](https://github.com/how-to-firebase/firelist-react/tree/challenge-firestore).

cloud-messaging/challenge.md

+2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# Challenge
22

3+
## Cloud Messaging
4+
35
## Find the repo
46

57
We'll be working on a branch of our [firelist-react](https://github.com/how-to-firebase/firelist-react) repo named [firebase-messaging](https://github.com/how-to-firebase/firelist-react/tree/master).

firebase-authentication/challenge.md

+2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# Challenge
22

3+
## Firebase Authentication
4+
35
## Find the repo
46

57
We'll be working on a branch of our [firelist-react](https://github.com/how-to-firebase/firelist-react) repo named [challenge-authentication](https://github.com/how-to-firebase/firelist-react/tree/challenge-authentication).

firebase-hosting/challenge.md

+43
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,47 @@
11
# Challenge
22

3+
## Firebase Hosting
4+
5+
## Find the repo
6+
7+
We'll be working on the [master branch](https://github.com/how-to-firebase/firelist-react) of our [firelist-react](https://github.com/how-to-firebase/firelist-react) repo.
8+
9+
## Localhost installation
10+
11+
Pull [the repo](https://github.com/how-to-firebase/firelist-react) directly from GitHub...
12+
13+
```text
14+
git clone https://github.com/how-to-firebase/firelist-react.git
15+
cd firelist-react
16+
git checkout master
17+
```
18+
19+
## Edit environment files
20+
21+
Update the following files with your own project details:
22+
23+
* `/.firebaserc`
24+
* `/functions/environments/environment.dev.js`
25+
* `/functions/environments/environment.js`
26+
* `/public/environments/environment.dev.js`
27+
* `/public/environments/environment.js`
28+
29+
## Build the app
30+
31+
Once you're on the branch, make sure to run `yarn build` or `npm install` to get your Node.js dependencies.
32+
33+
Build the app with `yarn build` or `yarn build:windows`.
34+
35+
## Inspect firebase.json
36+
37+
Read through `/firebase.json` and try to understand the settings.
38+
39+
## Deploy the app
40+
41+
Just run `yarn deploy`!
42+
43+
Check out `/package.json` and the `scripts` attribute to see what scripts are available and what they do.
44+
45+
346

447

realtime-database/challenge.md

+42
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,46 @@
11
# Challenge
22

3+
## Realtime Databse
34

5+
## Find the repo
6+
7+
We'll be working on a branch of our [firelist-react](https://github.com/how-to-firebase/firelist-react) repo named [challenge-rtdb](https://github.com/how-to-firebase/firelist-react/tree/challenge-rtdb).
8+
9+
## Localhost installation
10+
11+
Pull [the repo](https://github.com/how-to-firebase/firelist-react) directly from GitHub...
12+
13+
```text
14+
git clone https://github.com/how-to-firebase/firelist-react.git
15+
cd firelist-react
16+
git checkout challenge-rtdb
17+
```
18+
19+
## Edit environment files
20+
21+
Update the following files with your own project details:
22+
23+
* `/.firebaserc`
24+
* `/public/environments/environment.dev.js`
25+
* `/public/environments/environment.js`
26+
27+
## Start the app
28+
29+
Once you're on the branch, make sure to run `yarn` or `npm install` to get your Node.js dependencies.
30+
31+
Then run `yarn start` or `npm run start` to spin up the development server.
32+
33+
```text
34+
yarn
35+
yarn start
36+
```
37+
38+
## Complete the challenge
39+
40+
Search the codebase for `Challenge Realtime DB` to find all of the challenges.
41+
42+
Read the comments and complete the steps in those files.
43+
44+
- `databse.rules.json`
45+
- `src/database/set-user-tokens.js`
446

0 commit comments

Comments
 (0)