Compare commits

...

2 Commits

Author SHA1 Message Date
b5f8e16650 update packages, patch vulnerabilities 2023-08-12 09:33:25 +02:00
a615efff77 switch from npm to pnpm 2023-08-12 09:32:20 +02:00
4 changed files with 1176 additions and 2853 deletions

2845
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -4,20 +4,19 @@
"description": "NodeJS boilerplate for express apps", "description": "NodeJS boilerplate for express apps",
"main": "app.js", "main": "app.js",
"dependencies": { "dependencies": {
"body-parser": "^1.20.1", "body-parser": "^1.20.2",
"connect-flash": "^0.1.1", "connect-flash": "^0.1.1",
"cookie-parser": "^1.4.5", "cookie-parser": "^1.4.6",
"env-cmd": "^10.1.0", "env-cmd": "^10.1.0",
"express": "^4.18.2", "express": "^4.18.2",
"express-session": "^1.17.0", "express-session": "^1.17.3",
"method-override": "^3.0.0", "method-override": "^3.0.0",
"morgan": "^1.10.0", "morgan": "^1.10.0",
"mysql": "^2.18.1", "mysql": "^2.18.1",
"nodemailer": "^6.4.6", "nodemailer": "^6.9.4",
"nodemon": "^2.0.2", "nodemon": "^2.0.22",
"pug": "^3.0.2" "pug": "^3.0.2"
}, },
"devDependencies": {},
"scripts": { "scripts": {
"startDevServer": "env-cmd -e development -r ./config/.env-cmdrc.json nodemon app.js", "startDevServer": "env-cmd -e development -r ./config/.env-cmdrc.json nodemon app.js",
"startDevDB": "sudo /etc/init.d/mysql start", "startDevDB": "sudo /etc/init.d/mysql start",

1169
pnpm-lock.yaml Normal file

File diff suppressed because it is too large Load Diff

View File

@ -6,7 +6,7 @@ This repository show you a simple but powerful way to start up your NodeJS Proje
1. Clone/Fork this repository 1. Clone/Fork this repository
2. install all requirements 2. install all requirements
1. node 1. node
2. npm (or yarn) 2. npm, yarn, pnpm (recommended)
3. mysql 3. mysql
3. set the config files 3. set the config files
1. change `config/mail.js` credentials 1. change `config/mail.js` credentials
@ -37,7 +37,7 @@ This repository show you a simple but powerful way to start up your NodeJS Proje
| [method-override](https://www.npmjs.com/package/method-override) | Lets you use HTTP verbs such as PUT or DELETE in places where the client doesn't support it | | [method-override](https://www.npmjs.com/package/method-override) | Lets you use HTTP verbs such as PUT or DELETE in places where the client doesn't support it |
| [morgan](https://www.npmjs.com/package/morgan) | HTTP request logger middleware for node.js | | [morgan](https://www.npmjs.com/package/morgan) | HTTP request logger middleware for node.js |
| [mysql](https://www.npmjs.com/package/mysql) | This is a node.js driver for mysql. It is written in JavaScript, does not require compiling, and is 100% MIT licensed. | | [mysql](https://www.npmjs.com/package/mysql) | This is a node.js driver for mysql. It is written in JavaScript, does not require compiling, and is 100% MIT licensed. |
| [nodemailer](https://www.npmjs.com/package/nodemailer) | Send e-mails from Node.js easy as cake! | | [nodemailer](https://www.npmjs.com/package/nodemailer) | Send e-mails from Node.js <EFBFBD> easy as cake! |
| [nodemon](https://www.npmjs.com/package/nodemon) | nodemon is a tool that helps develop node.js based applications by automatically restarting the node application when file changes in the directory are detected. | | [nodemon](https://www.npmjs.com/package/nodemon) | nodemon is a tool that helps develop node.js based applications by automatically restarting the node application when file changes in the directory are detected. |
| [pug](https://www.npmjs.com/package/pug) | Pug is a high performance template engine heavily influenced by Haml and implemented with JavaScript for Node.js and browsers | | [pug](https://www.npmjs.com/package/pug) | Pug is a high performance template engine heavily influenced by Haml and implemented with JavaScript for Node.js and browsers |