git clone https://github.com/how-to-firebase/firelist-react.git
git checkout challenge-functions
Update the following files with your own project details:
Once you're on the branch, make sure to run
npm installto get your Node.js dependencies.
functionsdirectory and run
Make sure that you've installed nvm for Linux/macOS, nvm for Windows or some other tool to switch between Node.js versions.
nvm install 6.14.2then
nvm use 6.14.2to 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.
npm testto run your tests.
nvm install 6.14.2
nvm use 6.14.2
node --version //should read out 6.14.2
Search the codebase for
Challenge Functionsto find all of the challenges.
Work through the challenges in order from 01 to 06