rrevo's picture
prev chunk
1956157
raw
history blame
256 Bytes
const express = require('express');
const app = express();
const path = require('path');
app.get('/', (req, res) => {
res.sendFile(path.join(__dirname, 'index.html'));
});
app.listen(5432, () => {
console.log('Server is running on port 5432');
});