Pull the repo directly from GitHub...
git clone https://github.com/how-to-firebase/firelist-react.gitcd firelist-reactgit checkout challenge-functions
Update the following files with your own project details:
Once you're on the branch, make sure to run
npm install to get your Node.js dependencies.
cd into your
functions directory and run
npm install again.
nvm install 6.14.2 then
nvm use 6.14.2 to switch to Node version 6.14.2.
The Node version is important to make sure that your tests run in an identical environment to that of the Cloud Functions runtime.
yarn test or
npm test to run your tests.
yarncd functionsnvm install 6.14.2nvm use 6.14.2node --version //should read out 6.14.2yarn test
Search the codebase for
Challenge Functions to find all of the challenges.
Work through the challenges in order from 01 to 06