alnoda-workspaces/workspaces/postgres-workspace/dbdesigner/startUp.js
2022-01-31 21:44:40 +00:00

17 lines
438 B
JavaScript

/**
*
*/
var express = require('express');
var app = express();
app.use(express.static('./')); /* this line tells Express to use the public folder as our static folder from which we can serve static files*/
app.get('/', function (req, res) {
res.sendFile('index.html!');
});
app.listen(8029, function () {
console.log("DBDesigner listening on port 8029!");
console.log("Navigate your browser to 'http://localhost:8029'");
});