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