Skip to content

Instantly share code, notes, and snippets.

@rafaelaugustos
Created September 3, 2020 01:25
Show Gist options
  • Save rafaelaugustos/9bf660fb72db6cb50a6428681dd36086 to your computer and use it in GitHub Desktop.
Save rafaelaugustos/9bf660fb72db6cb50a6428681dd36086 to your computer and use it in GitHub Desktop.
import express from 'express'
import server from './app'
const app = express()
server.applyMiddleware({ app, path: '/graphql' })
app.listen({ port: 3000 }, () => console.log('Listen'))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment