1
0
Fork 0
mirror of https://github.com/docker/awesome-compose.git synced 2025-04-25 18:28:07 +02:00
awesome-compose/nodejs-postgres/nodejs/index.js
Utkarsh Mathur 99a93a5da8 nodejs postgres connection
Signed-off-by: Utkarsh Mathur <utkarshmathur05@gmail.com>
2023-02-03 02:48:23 +05:30

11 lines
238 B
JavaScript

const express = require('express');
const app = express();
const port = 3000;
app.get('/', (req, res) => {
res.send('Hello World!');
});
app.listen(port, () => {
console.log(`Example app listening at http://localhost:${port}`);
});