Created
December 7, 2020 07:10
-
-
Save velotiotech/9d5286d9913a66299e0c668cbeeb1923 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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