Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
import { ApolloServer } from 'apollo-server';
import { ApolloGateway } from '@apollo/gateway';
const gateway = new ApolloGateway({
serviceList: [],
});
const server = new ApolloServer({ gateway, subscriptions: false });
server.listen().then(({ url }) => {
console.log(`Server ready at url: ${url}`);
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment