srmcguirt
5/12/2018 - 5:39 PM

Server init for Graphql-yoga auth api

import config from 'config'

import mongoose from 'mongoose'
import bluebird from 'bluebird'
import morgan from 'morgan'
import helmet from 'helmet'
import ms from 'ms'

import { GraphQLServer } from 'graphql-yoga'

mongoose.Promise = bluebird