Skip to content

Commit 12829a8

Browse files
committed
Restoring Firestore exercise
1 parent 9bee714 commit 12829a8

File tree

2 files changed

+41
-2
lines changed

2 files changed

+41
-2
lines changed

SUMMARY.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@
3535
* [Walkthrough](cloud-firestore/walkthrough.md)
3636
* [Security Rules](cloud-firestore/security-rules.md)
3737
* [Indexes](cloud-firestore/indexes.md)
38-
* [Notes](cloud-firestore/notes.md)
3938
* [Exercise](cloud-firestore/exercise.md)
39+
* [Notes](cloud-firestore/notes.md)
4040

4141
## Realtime Database
4242

cloud-firestore/exercise.md

+40-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,41 @@
1-
# Exercise
1+
# Challenge
2+
3+
## Find the repo
4+
5+
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).
6+
7+
## Localhost installation
8+
9+
Pull [the repo](https://github.com/how-to-firebase/firelist-react) directly from GitHub...
10+
11+
```text
12+
git clone https://github.com/how-to-firebase/firelist-react.git
13+
cd firelist-react
14+
git checkout challenge-firestore
15+
```
16+
17+
## Edit environment files
18+
19+
Update the following files with your own project details:
20+
21+
* `/.firebaserc`
22+
* `/public/environments/environment.dev.js`
23+
* `/public/environments/environment.js`
24+
25+
## Start the app
26+
27+
Once you're on the branch, make sure to run `yarn` or `npm install` to get your Node.js dependencies.
28+
29+
Then run `yarn start` or `npm run start` to spin up the development server.
30+
31+
```text
32+
yarn
33+
yarn start
34+
```
35+
36+
## Complete the challenge
37+
38+
Search the codebase for `Challenge Firestore` to find all of the challenges.
39+
40+
Read the comments and complete the steps in those files.
241

0 commit comments

Comments
 (0)