mirror of
https://github.com/PhoenixTwoFive/karaoqueue.git
synced 2025-07-05 01:31:41 +02:00
Start new Node.js-based backend
This commit is contained in:
45
backend/.vscode/launch.json
vendored
45
backend/.vscode/launch.json
vendored
@ -5,43 +5,20 @@
|
||||
"version": "0.2.0",
|
||||
"configurations": [
|
||||
{
|
||||
"name": "Python: Flask",
|
||||
"type": "python",
|
||||
"type": "node",
|
||||
"request": "launch",
|
||||
"module": "flask",
|
||||
"preLaunchTask": "Launch MongoDB",
|
||||
"env": {
|
||||
"FLASK_APP": "app/main.py",
|
||||
"FLASK_ENV": "development",
|
||||
"FLASK_DEBUG": "0"
|
||||
},
|
||||
"args": [
|
||||
"run",
|
||||
"--no-debugger",
|
||||
"--no-reload"
|
||||
"name": "Launch via NPM",
|
||||
"cwd": "${workspaceFolder}/karaoqueue-backend",
|
||||
"runtimeExecutable": "npm",
|
||||
"runtimeArgs": [
|
||||
"run-script",
|
||||
"debug"
|
||||
],
|
||||
"jinja": true,
|
||||
"postDebugTask": "Stop MongoDB"
|
||||
},
|
||||
{
|
||||
"name": "Python: Flask (open to world)",
|
||||
"type": "python",
|
||||
"request": "launch",
|
||||
"module": "flask",
|
||||
"preLaunchTask": "Launch MongoDB",
|
||||
"env": {
|
||||
"FLASK_APP": "app/main.py",
|
||||
"FLASK_ENV": "development",
|
||||
"FLASK_DEBUG": "0"
|
||||
},
|
||||
"args": [
|
||||
"run",
|
||||
"--no-debugger",
|
||||
"--no-reload",
|
||||
"--host=0.0.0.0"
|
||||
"port": 9229,
|
||||
"skipFiles": [
|
||||
"<node_internals>/**"
|
||||
],
|
||||
"jinja": true,
|
||||
"postDebugTask": "Stop MongoDB"
|
||||
"preLaunchTask": "npm: build - karaoqueue-backend"
|
||||
}
|
||||
]
|
||||
}
|
9
backend/.vscode/tasks.json
vendored
9
backend/.vscode/tasks.json
vendored
@ -45,6 +45,15 @@
|
||||
"type": "shell",
|
||||
"command": "docker-compose -f ${workspaceFolder}/docker/docker-compose.dev.yml rm -sf",
|
||||
"problemMatcher": []
|
||||
},
|
||||
{
|
||||
"type": "npm",
|
||||
"script": "build",
|
||||
"path": "karaoqueue-backend/",
|
||||
"group": "build",
|
||||
"problemMatcher": [],
|
||||
"label": "npm: build - karaoqueue-backend",
|
||||
"detail": "tsc"
|
||||
}
|
||||
]
|
||||
}
|
Reference in New Issue
Block a user