mirror of
https://github.com/marcel-dempers/docker-development-youtube-series.git
synced 2025-06-06 17:01:30 +00:00
17 lines
285 B
JavaScript
17 lines
285 B
JavaScript
'use strict';
|
|
|
|
const express = require('express');
|
|
|
|
const PORT = 5000;
|
|
const HOST = '0.0.0.0';
|
|
|
|
const app = express();
|
|
|
|
app.get('/', (req, res) => {
|
|
res.send('Hello world \n');
|
|
});
|
|
|
|
|
|
app.listen(PORT, HOST);
|
|
|
|
console.log(`Running version 3 on http://${HOST}:${PORT}`); |