Node-1st-gen/quickstarts/uppercase-rtdb/README.md
This quickstart demonstrates using Firebase SDK for Cloud Functions setup with a Firebase database.
This sample app does two things:
To deploy and try out the sample:
npm install in the functions directoryfirebase deployThe function executes and redirects the browser to the Firebase console at the database location where the text string was stored. You should see your text value displayed in the console and uppercase.
The test folder has unit tests written with firebase-functions-test. There are 2 sets of tests: online and offline.
To run the offline tests: run npm test inside the functions folder.
To run the online tests:
projectConfig variable in test/test.online.js with configuration values from your project.service-account-key.jsonnpm run test-online inside the functions folder.We'd love that you contribute to the project. Before doing so please read our Contributor guide.
© Google, 2016. Licensed under an Apache-2 license.