diff --git a/.vscode/launch.json b/.vscode/launch.json deleted file mode 100644 index 1d694dc..0000000 --- a/.vscode/launch.json +++ /dev/null @@ -1,80 +0,0 @@ -{ - "version": "0.2.0", - "configurations": [ - - { - "name": "[Compound] Debug Frontend without Backend", - "type": "chrome", - "request": "launch", - "url": "http://localhost:3000", - "webRoot": "${workspaceFolder}/frontend/src", - "preLaunchTask": "Start Frontend", - "postDebugTask": "Terminate All Tasks", - "sourceMaps": true, - "skipFiles": ["node_modules/**"], - "runtimeExecutable": "/Applications/Google Chrome.app/Contents/MacOS/Google Chrome", - "presentation": { - "hidden": true - } - }, - - { - "type": "node", - "request": "launch", - "name": "Debug Jest Tests", - "program": "${workspaceRoot}/backend/node_modules/jest/bin/jest", - "args": ["--runInBand"], - "cwd": "${workspaceRoot}/backend", - "console": "integratedTerminal", - "internalConsoleOptions": "neverOpen" - }, - { - "type": "node", - "request": "launch", - "name": "Debug Backend", - "skipFiles": [ - "/**", - "node_modules/**" - ], - "cwd": "${workspaceFolder}/backend", - "internalConsoleOptions": "openOnSessionStart", - "env": { - "LOCAL_MODE": "true" - }, - "args": [ - "node_modules/ts-node/dist/bin.js", - "--project", - "${workspaceFolder}/backend/tsconfig.json", - "-r", - "tsconfig-paths/register", - "src/index.ts" - ], - "runtimeArgs": [ - "-r", - "ts-node/register", - "--unhandled-rejections=strict", - "--nolazy" - ], - "program": "${workspaceFolder}/backend/src/index.ts", - "preLaunchTask": "Install Backend Dependencies" - }, - { - "name": "Debug Frontend", - "type": "chrome", - "request": "launch", - "url": "http://localhost:3000", - "webRoot": "${workspaceFolder}/frontend/src", - "preLaunchTask": "only Frontend", - "postDebugTask": "Terminate All Tasks", - "sourceMaps": true, - "skipFiles": ["node_modules/**"], - "runtimeExecutable": "/Applications/Google Chrome.app/Contents/MacOS/Google Chrome" - } - ], - "compounds": [ - { - "name": "Debug Frontend and Backend", - "configurations": ["Debug Backend", "[Compound] Debug Frontend without Backend"] - } - ] -} \ No newline at end of file diff --git a/.vscode/tasks.json b/.vscode/tasks.json deleted file mode 100644 index c2660a6..0000000 --- a/.vscode/tasks.json +++ /dev/null @@ -1,136 +0,0 @@ -{ - //sudo apt-get install lsof - "version": "2.0.0", - "tasks": [ - { - "label": "Kill3000", - "type": "shell", - "windows": { - "command": "netstat -ano | findstr :3000 | for /F \"tokens=5\" %a in ('more') do taskkill /PID %a /F" - }, - "linux": { - "command": "lsof -ti:3000 | xargs kill" - }, - "osx": { - "command": "lsof -ti:3000 | xargs kill" - }, - "presentation": { - "reveal": "always", - "panel": "new" - }, - "problemMatcher": [] - }, - { - "label": "Kill8800", - "type": "shell", - "windows": { - "command": "netstat -ano | findstr :8800 | for /F \"tokens=5\" %a in ('more') do taskkill /PID %a /F" - }, - "linux": { - "command": "lsof -ti:8800 | xargs kill" - }, - "osx": { - "command": "lsof -ti:8800 | xargs kill" - }, - "presentation": { - "reveal": "always", - "panel": "new" - }, - "problemMatcher": [] -}, - { - "label": "Install Backend Dependencies", - "type": "shell", - "command": "npm install", - "options": { - "cwd": "${workspaceFolder}/backend" - } - }, - { - "label": "Start Backend", - "type": "shell", - "command": "npx ts-node src/index.ts", - "options": { - "cwd": "${workspaceFolder}/backend" - }, - "isBackground": true, - "problemMatcher": { - "owner": "typescript", - "pattern": { - "regexp": "^.*$", - "file": 1, - "location": 2, - "message": 3 - }, - "background": { - "activeOnStart": true, - "beginsPattern": "^.*$", - "endsPattern": "^Server läuft auf Port.*$" - } - } - }, - { - "label": "Start Frontend", - "type": "shell", - "command": "npm start", - "options": { "cwd": "${workspaceFolder}/frontend" }, - "isBackground": true, - "problemMatcher": { - "owner": "javascript", - "pattern": { - "regexp": "^.*$", - "file": 1, - "location": 2, - "message": 3 - }, - "background": { - "activeOnStart": true, - "beginsPattern": "^.*$", - "endsPattern": "No issues found" - } - } - }, - { - "type": "shell", - "label": "Docker Build", - "command": "docker build --build-arg NODE_VERSION=$(node -v) -t ${workspaceFolderBasename} .", - "group": "build" - }, - { - "label": "Terminate All Tasks", - "command": "echo ${input:terminate}", - "type": "shell", - "problemMatcher": [] - }, - { - "label": "only Frontend", - "type": "shell", - "command": "npm start", - "dependsOn": ["Start Backend"], - "options": { "cwd": "${workspaceFolder}/frontend" }, - "isBackground": true, - "problemMatcher": { - "owner": "javascript", - "pattern": { - "regexp": "^.*$", - "file": 1, - "location": 2, - "message": 3 - }, - "background": { - "activeOnStart": true, - "beginsPattern": "^.*$", - "endsPattern": "Compiled successfully" - } - } - }, - ], - "inputs": [ - { - "id": "terminate", - "type": "command", - "command": "workbench.action.tasks.terminate", - "args": "terminateAll" - } - ] -} \ No newline at end of file diff --git a/linux b/linux index 9ed255a..b726761 100755 Binary files a/linux and b/linux differ diff --git a/macos b/macos index 2d96745..d5d0bec 100755 Binary files a/macos and b/macos differ diff --git a/windows.exe b/windows.exe index 632d75c..e13eba4 100755 Binary files a/windows.exe and b/windows.exe differ