Created
March 10, 2019 16:48
-
-
Save tabrez/58323b79fa080b55b988eb74ac6c910a 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
const { GraphQLServer } = require('graphql-yoga'); | |
const server = new GraphQLServer({ typeDefs, resolvers }); | |
server.start(() => console.log('Server is running...')); | |
// run integration tests | |
// how to stop the server? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment