10 lines
173 B
JavaScript
10 lines
173 B
JavaScript
|
const http = require('http');
|
||
|
const app = require('./backend/app');
|
||
|
const port = 3000;
|
||
|
|
||
|
app.set('port', port);
|
||
|
|
||
|
const server = http.createServer(app);
|
||
|
|
||
|
server.listen(port);
|