made updates to load envs and streamline pg pool to cut down on connections (#15)

Reviewed-on: #15
Co-authored-by: Joseph Nelson <joseph.nelson4456@gmail.com>
Co-committed-by: Joseph Nelson <joseph.nelson4456@gmail.com>
This commit was merged in pull request #15.
This commit is contained in:
2026-05-30 23:52:32 -07:00
committed by joseph.nelson4456
parent 42563e6f7c
commit dca781418f
12 changed files with 23 additions and 44 deletions
+2 -1
View File
@@ -5,7 +5,8 @@
"main": "app.js",
"scripts": {
"dev": "nodemon src/app.js",
"start": "node src/app.js",
"start": "NODE_ENV=production node src/app.js",
"docker:start": "NODE_ENV=production node --env-file=.env src/app.js",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"migrate": "node-pg-migrate -m ./src/migrations",