mirror of
https://github.com/vale981/Vulcan
synced 2025-03-10 04:26:41 -04:00
19 lines
No EOL
411 B
JavaScript
19 lines
No EOL
411 B
JavaScript
import Telescope from 'meteor/nova:lib';
|
|
|
|
import { makeExecutableSchema } from 'graphql-tools';
|
|
|
|
import { meteorClientConfig, client } from './client.js';
|
|
|
|
import { createApolloServer } from './server.js';
|
|
import typeDefs from './schema';
|
|
|
|
const schema = makeExecutableSchema({
|
|
typeDefs,
|
|
resolvers: Telescope.graphQL.resolvers,
|
|
});
|
|
|
|
createApolloServer({
|
|
schema,
|
|
});
|
|
|
|
export { meteorClientConfig, client }; |