Skip to content

keinuma/apollo-firebase-functions-sample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

概要

Google Cloud Functions for Firebase を使用した Apollo Serverの実装サンプル

環境構築

Cloud Functions

認証情報を設定する

Firebase CLIをインストールし、ログインをする

$ firebase login

コンソールもしくは管理者からサービスアカウントを取得する

依存モジュールインストール

以降は functions/ ディレクトリ配下で実施する

$ cd functions
$ npm install

Apollo Serverの起動

$ npm run serve

Google Cloud Functions for Firebaseへデプロイ

$ npm run deploy
or
$ firebase deploy --only functions

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published