Express boilerplate

This commit is contained in:
Clément GOUIN
2019-06-19 10:36:45 +02:00
parent db03535ee9
commit f170b4c3ea
8 changed files with 9886 additions and 13 deletions
+9
View File
@@ -0,0 +1,9 @@
const config = require('./config.json');
const app = require('./app')(config);
const port = config.nodePort|3000;
app.listen(config.nodePort|3000, () => {
console.log(`gitblog.md server listening on port ${port}`);
});