Open5

FirebaesのCloudFunctionsをTypeScriptで書く時のメモ

sukedonsukedon

環境構築
https://qiita.com/naoki-haba/items/eaa9ace619d4313b8c16

functionsフォルダでnpm installしよう
https://qiita.com/kokogento/items/a379e0d715d0899c24b0

Unityでエミュレータ接続はできるのか?
https://github.com/firebase/quickstart-unity/issues/719#issuecomment-938759588
できそう

サンプル実行

export const helloWorld = functions.https.onRequest((request, response) => {
  functions.logger.info("Hello logs!", {structuredData: true});
  response.send("Hello from Firebase!");
});