React + Firestore : Deploying Your Application
To get setup please refer to part 1 : React + Firestore : Get Setup In Five Steps.
Please refer to part 2 for the basics of reading and writing to the database in React + Firestore: CRUD.
Initialise A Firebase Project
To be able to deploy a project to firebase hosting you will need to have firebase-tools installed on your computer. To do this open up your terminal and type
npm install -g firebase-tools
When firebase-tools is finished installing, navigate to your the folder with the react project you want to deploy. Then type
firebase init into the terminal.
You will be asked which firebase features you would like to include. We are going to use the example project in React + Firestore: CRUD](https://joshpitzalis.svbtle.com/crud) so we are going to select
Hosting. Use teh arrow keys to move up and down and then the space bar to select a feature. Press enter to...
Continue reading →