Skip to content

Instantly share code, notes, and snippets.

@michielmulders
Created April 7, 2020 15:52
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save michielmulders/00853641fb7fb56aab51cf8d77351bae to your computer and use it in GitHub Desktop.
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