Skip to content

Commit e2bd493

Browse files
committed
rtdb challenge restore
1 parent 54bc5ea commit e2bd493

File tree

1 file changed

+44
-0
lines changed

1 file changed

+44
-0
lines changed

realtime-database/challenge.md

+44
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,47 @@ description: Realtime Database Challenge
44

55
# Challenge
66

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

0 commit comments

Comments
 (0)