https://github.com/nekonenene/firebase-api-test-functions
ブログ記事のためにAPIサーバー用意するのが面倒だったので Cloud Functions 活用
https://github.com/nekonenene/firebase-api-test-functions
firebase firebase-functions javascript nodejs
Last synced: 2 months ago
JSON representation
ブログ記事のためにAPIサーバー用意するのが面倒だったので Cloud Functions 活用
- Host: GitHub
- URL: https://github.com/nekonenene/firebase-api-test-functions
- Owner: nekonenene
- Created: 2020-03-21T09:41:23.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-03-21T22:32:57.000Z (over 6 years ago)
- Last Synced: 2025-05-29T15:12:53.450Z (about 1 year ago)
- Topics: firebase, firebase-functions, javascript, nodejs
- Language: JavaScript
- Homepage: https://nekonenene.hatenablog.com/entry/2020/03/22/015852
- Size: 36.1 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Firebase API Test
* jQuery での ajax メソッド使用 [https://jsfiddle.net/nekonenene/pbszvtk3/](https://jsfiddle.net/nekonenene/pbszvtk3/)
* PureJS での fetch メソッド使用 [https://jsfiddle.net/nekonenene/cpq965j4/](https://jsfiddle.net/nekonenene/cpq965j4/)
の[書き方の違いを説明する](https://nekonenene.hatenablog.com/entry/2020/03/22/015852)ために用意した、Cloud Functions 用のファイル群。
デプロイは
```sh
firebase deploy --only functions
```
でおこなう。(参考: https://firebase.google.com/docs/hosting/deploying )