feat: unified portal server, single database migration & railway configuration
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"name": "webgis_chloropleth",
|
||||
"version": "1.0.0",
|
||||
"description": "Static WebGIS Chloropleth app wrapped in an Express server",
|
||||
"main": "server.js",
|
||||
"scripts": {
|
||||
"start": "node server.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"express": "^5.2.1"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
const express = require('express');
|
||||
const path = require('path');
|
||||
const app = express();
|
||||
|
||||
app.use(express.static(__dirname));
|
||||
|
||||
const PORT = process.env.PORT || 3000;
|
||||
app.listen(PORT, () => {
|
||||
console.log(`WebGIS Chloropleth static server running on port ${PORT}`);
|
||||
});
|
||||
Reference in New Issue
Block a user