Base files
This commit is contained in:
parent
ab8dca8474
commit
799c6b6902
4 changed files with 1528 additions and 1 deletions
16
app.js
Normal file
16
app.js
Normal 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
5
index.pug
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
html(lang=fr)
|
||||||
|
head
|
||||||
|
title= AconcaTex
|
||||||
|
body
|
||||||
|
h1= message
|
1502
package-lock.json
generated
Normal file
1502
package-lock.json
generated
Normal file
File diff suppressed because it is too large
Load diff
|
@ -11,5 +11,9 @@
|
||||||
"url": "gitea@git.edgarpierre.fr:edpibu/AconcaTex.git"
|
"url": "gitea@git.edgarpierre.fr:edpibu/AconcaTex.git"
|
||||||
},
|
},
|
||||||
"author": "edpibu",
|
"author": "edpibu",
|
||||||
"license": "ISC"
|
"license": "ISC",
|
||||||
|
"dependencies": {
|
||||||
|
"express": "^4.17.1",
|
||||||
|
"pug": "^3.0.0"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Reference in a new issue