Skip to content

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. Your JavaScript or TypeScript code is stored in Google's cloud and runs in a managed environment.

Notifications You must be signed in to change notification settings

E2517/e2517-cloud-functions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Firebase logo

Cloud Functions

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. Your JavaScript or TypeScript code is stored in Google's cloud and runs in a managed environment.

Flutter project

First Cloud Function

Run backend code in response to onCreate superheroe in the Realtime Database, changing Huld to Hulk

Second Cloud Function

Run backend code in response when you create a new superheroe -> urladdHeroe?name=Venom&points=1000&available=true

Third Cloud Function

Run backend code in response when you create a new superheroe -> urladdHeroe?name=Venom&points=1000&available=true transforming the data that comes from the url to string, double and bool

Start

1.- firebase login 2.- firebase init -> TypeScript 3.- tsc file.ts -> to compile to JavaScript in local 4.- npm run-script build -> to prepare the project to Firebase compiling to javascript 5.- firebase deploy or firebase deploy --only functions (to allow you in local too)

Update

firebase cloudadvise

About

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. Your JavaScript or TypeScript code is stored in Google's cloud and runs in a managed environment.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published