Base files

This commit is contained in:
Edgar P. Burkhart 2020-11-25 18:42:59 +01:00
parent ab8dca8474
commit 799c6b6902
Signed by: edpibu
GPG Key ID: 9833D3C5A25BD227
4 changed files with 1528 additions and 1 deletions

16
app.js Normal file
View File

@ -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}`);
});

5
index.pug Normal file
View File

@ -0,0 +1,5 @@
html(lang=fr)
head
title= AconcaTex
body
h1= message

1502
package-lock.json generated Normal file

File diff suppressed because it is too large Load Diff

View File

@ -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"
}
}