You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
274 B
16 lines
274 B
'use strict';
|
|
|
|
const express = require('express');
|
|
|
|
// Constants
|
|
const PORT = 3000;
|
|
const HOST = '0.0.0.0';
|
|
|
|
// App
|
|
const app = express();
|
|
app.get('/', (req, res) => {
|
|
res.send('Hello World');
|
|
});
|
|
|
|
app.listen(PORT, HOST);
|
|
console.log(`Running on http://${HOST}:${PORT}`);
|
|
|