env and database access overhaul;

new dev scripts
This commit is contained in:
Dobromir Popov
2024-04-05 19:58:07 +03:00
parent 3209d273e2
commit 8becbfc926
18 changed files with 49 additions and 45 deletions

14
.vscode/launch.json vendored
View File

@ -5,13 +5,23 @@
"version": "0.2.0",
"configurations": [
{
"name": "Run npm nodemon (DEV)",
"name": "Run npm nodemon (DB)",
"command": "npm run debug",
"request": "launch",
"type": "node-terminal",
"preLaunchTask": "killInspector",
"env": {
"NODE_ENV": "development"
"APP_ENV": "development"
}
},
{
"name": "Run npm nodemon (Raph)",
"command": "npm run debug",
"request": "launch",
"type": "node-terminal",
"preLaunchTask": "killInspector",
"env": {
"APP_ENV": "development.raph"
}
},
{