-
-
Notifications
You must be signed in to change notification settings - Fork 135
Closed
Labels
Description
Hi,
I'm new with Apollo and GraphQL. I see the setup instruction of this module is possible with Express. I believe Apollo create an express app on the server side with Meteor but it is completely opaque.
Any idea about setup apollo-upload-server on the server side with Meteor ? My main server code. (Apollo setup)
import { createApolloServer } from "meteor/apollo";
import { makeExecutableSchema } from "graphql-tools";
import merge from "lodash/merge";
import UsersSchema from '../../api/users/User.graphql';
import UsersResolvers from '../../api/users/resolvers';
import PagesSchema from '../../api/pages/Page.graphql';
import PagesResolvers from '../../api/pages/resolvers';
import CommonSchema from '../../api/common/Common.graphql';
import CommonResolvers from '../../api/common/resolvers';
const typeDefs = [UsersSchema, PagesSchema, CommonSchema];
const resolvers = merge(UsersResolvers, PagesResolvers, CommonResolvers);
const schema = makeExecutableSchema({
typeDefs,
resolvers
});
createApolloServer({ schema });
Thanks for your answer and great job for this project !