Created
September 3, 2020 01:25
-
-
Save rafaelaugustos/9bf660fb72db6cb50a6428681dd36086 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 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