Google Cloud Functions for Firebase を使用した Apollo Serverの実装サンプル
Firebase CLIをインストールし、ログインをする
$ firebase login
コンソールもしくは管理者からサービスアカウントを取得する
以降は functions/
ディレクトリ配下で実施する
$ cd functions
$ npm install
$ npm run serve
$ npm run deploy
or
$ firebase deploy --only functions