ハードウェアとFirebaseとの橋渡しを担うFirebase-functionsプロジェクト
カスタムトークンの生成やFirestoreへのデータ追加プログラム
name | version |
---|---|
firebase-admin | ^9.8.0 |
firebase-functions | ^3.14.1 |
devDependencies | |
eslint | ^7.6.0 |
firebase-functions-test | ^0.2.0 |
typescript | ^4.8.4 |
- Acess to
Firebase console > serviceaccounts
- Click "Generate new private key"
- Save as
src > admin-sdk-token.key.json
yarn
yarn dev
Acsess to localhost:5001/research2022-5j/us-central1/[api-name]
yarn build
yarn deploy
I use postman desktop