Skip to content

Instantly share code, notes, and snippets.

View aswinmprabhu's full-sized avatar
🚀
Building cool stuff

Aswin M Prabhu aswinmprabhu

🚀
Building cool stuff
View GitHub Profile
// serve the merged schema
makeMergedSchema().then(mergedSchema => {
// Create a new apollo server
const server = new ApolloServer({ schema:mergedSchema });
server.listen({port: 3000})
.then(({ url }) => {
console.log(`🚀 Server ready at ${url}`);
})