Base files
This commit is contained in:
parent
ab8dca8474
commit
799c6b6902
|
@ -0,0 +1,16 @@
|
|||
const express = require('express');
|
||||
|
||||
const app = express();
|
||||
app.set('view engine', 'pug');
|
||||
|
||||
|
||||
const PORT = 8765;
|
||||
|
||||
app.get('/*', (req, res) => {
|
||||
console.log(req.params);
|
||||
res.send('OK');
|
||||
});
|
||||
|
||||
app.listen(PORT, () => {
|
||||
console.log(`Started on port ${PORT}`);
|
||||
});
|
|
@ -0,0 +1,5 @@
|
|||
html(lang=fr)
|
||||
head
|
||||
title= AconcaTex
|
||||
body
|
||||
h1= message
|
File diff suppressed because it is too large
Load Diff
|
@ -11,5 +11,9 @@
|
|||
"url": "gitea@git.edgarpierre.fr:edpibu/AconcaTex.git"
|
||||
},
|
||||
"author": "edpibu",
|
||||
"license": "ISC"
|
||||
"license": "ISC",
|
||||
"dependencies": {
|
||||
"express": "^4.17.1",
|
||||
"pug": "^3.0.0"
|
||||
}
|
||||
}
|
||||
|
|
Reference in New Issue