alnoda-workspaces/workspaces/sqlite-workspace/dbdesigner/startUp.js

17 lines
438 B
JavaScript
Raw Normal View History

2022-02-23 07:08:48 +13:00
/**
*
*/
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'");
});