Add functions default code w/ helloWorld

This commit is contained in:
Xevion
2022-05-19 00:33:23 -05:00
parent 98233b7628
commit db97d9911d
7 changed files with 7868 additions and 0 deletions

9
functions/src/index.ts Normal file
View File

@@ -0,0 +1,9 @@
import * as functions from "firebase-functions";
// // Start writing Firebase Functions
// // https://firebase.google.com/docs/functions/typescript
export const helloWorld = functions.https.onRequest((request, response) => {
functions.logger.info("Hello logs!", {structuredData: true});
response.send("Hello from Firebase!");
});