mirror of
https://github.com/vale981/Vulcan
synced 2025-03-10 04:26:41 -04:00
18 lines
363 B
JavaScript
18 lines
363 B
JavaScript
![]() |
import { makeExecutableSchema, addMockFunctionsToSchema } from 'graphql-tools';
|
||
|
|
||
|
import { client } from './client.js';
|
||
|
|
||
|
import { createApolloServer } from './server.js';
|
||
|
import typeDefs from './schema';
|
||
|
import resolvers from './resolvers';
|
||
|
|
||
|
const schema = makeExecutableSchema({
|
||
|
typeDefs,
|
||
|
resolvers,
|
||
|
});
|
||
|
|
||
|
createApolloServer({
|
||
|
schema,
|
||
|
});
|
||
|
|
||
|
export { client };
|