Challenge

We'll be working on the master branch of our firelist-react repo.

Pull the repo directly from GitHub...
git clone https://github.com/how-to-firebase/firelist-react.git
cd firelist-react
git checkout master

Update the following files with your own project details:
  • /.firebaserc
  • /functions/environments/environment.dev.js
  • /functions/environments/environment.js
  • /public/environments/environment.dev.js
  • /public/environments/environment.js

Once you're on the branch, make sure to run yarn build or npm install to get your Node.js dependencies.
Build the app with yarn build or yarn build:windows.

Read through /firebase.json and try to understand the settings.

Just run yarn deploy!
Check out /package.json and the scripts attribute to see what scripts are available and what they do.
Copy link
On this page
Firebase Hosting
Find the repo
Localhost installation
Edit environment files
Build the app
Inspect firebase.json
Deploy the app