A cool react js project for demonstrating neat firebase features
- Create a firebase account
- Add a project on admin portal
- In the App portal on the left, choose Database
- Select Cloud Firestore
- Add a Collection names "Country"
- For the Collection's new Document, add the following fields.
- Capital
- Country
- Population
- Latitude
- Longitude
- Clone the repo (Get it from above)
nvm use
(Make sure to have nvm. You will need node 8.0.0)npm install
(Install all the fun packages)- Within react-firestorm/src/App.js replace the following within the config variable:
<ApiKey>
<Project-ID>
(You should be able to find these in your app settings in the firebase console)
npm start
(Enjoy!)