1
0
mirror of https://github.com/yldio/copilot.git synced 2024-11-14 07:10:05 +02:00
copilot/cloudapi-graphql/src/index.js
2016-10-20 10:58:19 +01:00

15 lines
239 B
JavaScript

const express = require('express');
const app = express();
app.use('/graphql', require('./endpoint'));
app.listen(3000, (err) => {
if (err) {
console.log(err);
throw err;
}
console.log('Listening at localhost:3000');
});