1.1.2 • Published 5 years ago

graphql-firebase-editor v1.1.2

Weekly downloads
-
License
ISC
Repository
-
Last release
5 years ago

Graphql editor with jwt token for Express

You can use with firebase authorization or custom jwt token.

Install

npm i graphql-firebase-editor

Example

import graphqlEditor from 'graphql-firebase-editor'

app.get('/graphql', graphqlEditor)

Firebase authorization example

If you want to use firebase authorization, you must set FIREBASE_KEY in your .env file then use dotenv.config() for access this.

import graphqlEditor from 'graphql-firebase-editor'
import dotenv from 'dotenv'

dotenv.config()

app.get('/graphql', graphqlEditor)
1.1.2

5 years ago

1.1.1

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago