Skip to content

Instantly share code, notes, and snippets.

@piuccio
Created April 10, 2019 07:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save piuccio/6e7d4c2fd86519c266188c60bfabd5d5 to your computer and use it in GitHub Desktop.
Save piuccio/6e7d4c2fd86519c266188c60bfabd5d5 to your computer and use it in GitHub Desktop.
Initialaze a Firebase project for Apollo server
{
"projects": {
"default": "the-id-of-your-project"
}
}
{
"functions": {
"source": "."
}
}
{
"main": "./firebase-functions.js",
"scripts": {
"functions": "firebase serve --only functions",
"deploy": "firebase deploy --only functions"
},
"engines": {
"node": "8"
},
"dependencies": {
"firebase-admin": "7.2.0",
"firebase-functions": "2.2.1"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment