Created
April 7, 2020 15:52
-
-
Save michielmulders/00853641fb7fb56aab51cf8d77351bae to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const { Keystone } = require('@keystonejs/keystone'); | |
const { GraphQLApp } = require('@keystonejs/app-graphql'); | |
const { AdminUIApp } = require('@keystonejs/app-admin-ui'); | |
const { MongooseAdapter: Adapter } = require('@keystonejs/adapter-mongoose'); | |
const PROJECT_NAME = "movie-rating"; | |
const keystone = new Keystone({ | |
name: PROJECT_NAME, | |
adapter: new Adapter(), | |
}); | |
module.exports = { | |
keystone, | |
apps: [new GraphQLApp(), new AdminUIApp({ enableDefaultRoute: true })], | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment