-
- Downloads
Merge branch 'main' of https://gitlab.univ-lorraine.fr/villaum55u/dp_projet into creation_compte
Conflicts: app.js package-lock.json package.json
No related branches found
No related tags found
Showing
- .env 1 addition, 0 deletions.env
- app.js 27 additions, 9 deletionsapp.js
- controller/AuthController.js 35 additions, 0 deletionscontroller/AuthController.js
- keyGen.js 3 additions, 0 deletionskeyGen.js
- package-lock.json 329 additions, 154 deletionspackage-lock.json
- package.json 6 additions, 2 deletionspackage.json
- views/index.ejs 6 additions, 3 deletionsviews/index.ejs
- views/login.ejs 18 additions, 0 deletionsviews/login.ejs
.env
0 → 100644
controller/AuthController.js
0 → 100644
keyGen.js
0 → 100644
This diff is collapsed.
... | @@ -6,6 +6,7 @@ | ... | @@ -6,6 +6,7 @@ |
"scripts": { | "scripts": { | ||
"start": "node index.js", | "start": "node index.js", | ||
"serv_start": "node server.js", | "serv_start": "node server.js", | ||
"secretKey": "node keyGen.js", | |||
"test": "echo \"Error: no test specified\" && exit 1" | "test": "echo \"Error: no test specified\" && exit 1" | ||
}, | }, | ||
"repository": { | "repository": { | ||
... | @@ -16,9 +17,12 @@ | ... | @@ -16,9 +17,12 @@ |
"license": "ISC", | "license": "ISC", | ||
"dependencies": { | "dependencies": { | ||
"bcrypt": "^5.1.1", | "bcrypt": "^5.1.1", | ||
"body-parser": "^1.20.2", | |||
"cookie-parser": "^1.4.6", | |||
"dotenv": "^16.3.1", | |||
"ejs": "^3.1.9", | "ejs": "^3.1.9", | ||
"express": "^4.18.2", | "express": "^4.18.2", | ||
"mongodb": "^6.2.0", | "jsonwebtoken": "^9.0.2", | ||
"mongoose": "^8.0.1" | "mongodb": "^6.2.0" | ||
} | } | ||
} | } |
views/login.ejs
0 → 100644
Please register or sign in to comment