DEV Community

Madhav Jha
Madhav Jha

Posted on

4 3

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)

Billboard image

Create up to 10 Postgres Databases on Neon's free plan.

If you're starting a new project, Neon has got your databases covered. No credit cards. No trials. No getting in your way.

Try Neon for Free →

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay