zgo/server.js

10 lines
173 B
JavaScript
Raw Normal View History

2021-10-15 19:14:49 +00:00
const http = require('http');
const app = require('./backend/app');
const port = 3000;
app.set('port', port);
const server = http.createServer(app);
server.listen(port);