Node v9+ npm 5.0.0+
download nvm links: (mac) https://github.com/creationix/nvm (windows) https://github.com/coreybutler/nvm-windows
preferably v10+
- npm install -g firebase-tools
- clone repo
- cd firebase-react-boilerplate && npm install
- cd front-end && npm install
firebase-tools: https://github.com/firebase/firebase-tools
firebase deploy Hosting URL: https://ibrokethis-9b72f.firebaseapp.com
Front end is using React js as the JS framework All front end related code is under the folder "front-end"
Only dist/** is deployed to the page
-
To test frontend code locally, run command npm run dev
-
To fix linting issues, run command npm run lintfix
-
To push new code to prod, run command npm run build firebase deploy
We will be using javascript ES6 here for the cloud functions