DEV Community

Madhav Jha
Madhav Jha

Posted on

Firebase Cloud Functions

Quoting verbatim from the docs, Cloud Functions for Firebase is a serverless framework that lets you automatically run backend code in response to events triggered by Firebase features and HTTPS requests.

See https://firebase.google.com/docs/functions

https://firebase.google.com/docs/functions/get-started

mkdir cloud-functions-101
cd cloud-functions-101
nvm use
npm install -g firebase-tools
firebase login
firebase init firestore
firebase init functions
firebase emulators:start
Enter fullscreen mode Exit fullscreen mode

For killing emulator, find and kill the process running on 8080.

lsof -i tcp:8080
kill -9 pid
Enter fullscreen mode Exit fullscreen mode

Top comments (0)