diff --git a/.vscode/launch.json b/.vscode/launch.json index 6d1c07c..1c20281 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -5,11 +5,11 @@ "version": "0.2.0", "configurations": [ { - "name": "C#: Debug Public API", + "name": "C#: Debug App API", "type": "coreclr", "request": "launch", - "preLaunchTask": "build Public API", - "program": "${workspaceFolder}/api/Public/bin/Debug/net10.0/Public.dll", + "preLaunchTask": "build App API", + "program": "${workspaceFolder}/api/Public/bin/Debug/net10.0/App.dll", "args": [], "cwd": "${workspaceFolder}/api/Public", "stopAtEntry": false, diff --git a/.vscode/tasks.json b/.vscode/tasks.json index b29e267..98db440 100644 --- a/.vscode/tasks.json +++ b/.vscode/tasks.json @@ -2,10 +2,10 @@ "version": "2.0.0", "tasks": [ { - "label": "build Public API", + "label": "build App API", "type": "process", "command": "dotnet", - "args": ["build", "${workspaceFolder}/api/Public/Public.csproj"], + "args": ["build", "${workspaceFolder}/api/Public/App.csproj"], "problemMatcher": "$msCompile", "group": { "kind": "build", diff --git a/api/Public/Public.csproj b/api/App/App.csproj similarity index 100% rename from api/Public/Public.csproj rename to api/App/App.csproj diff --git a/api/Public/Endpoints/LokEndpoints.cs b/api/App/Endpoints/LokEndpoints.cs similarity index 100% rename from api/Public/Endpoints/LokEndpoints.cs rename to api/App/Endpoints/LokEndpoints.cs diff --git a/api/Public/Endpoints/SystemEndpoints.cs b/api/App/Endpoints/SystemEndpoints.cs similarity index 100% rename from api/Public/Endpoints/SystemEndpoints.cs rename to api/App/Endpoints/SystemEndpoints.cs diff --git a/api/Public/Models/LokOpenHours.cs b/api/App/Models/LokOpenHours.cs similarity index 100% rename from api/Public/Models/LokOpenHours.cs rename to api/App/Models/LokOpenHours.cs diff --git a/api/Public/Program.cs b/api/App/Program.cs similarity index 100% rename from api/Public/Program.cs rename to api/App/Program.cs diff --git a/api/Public/Properties/launchSettings.json b/api/App/Properties/launchSettings.json similarity index 100% rename from api/Public/Properties/launchSettings.json rename to api/App/Properties/launchSettings.json diff --git a/api/Public/Services/LokService.cs b/api/App/Services/LokService.cs similarity index 100% rename from api/Public/Services/LokService.cs rename to api/App/Services/LokService.cs diff --git a/api/Public/appsettings.Development.json b/api/App/appsettings.Development.json similarity index 100% rename from api/Public/appsettings.Development.json rename to api/App/appsettings.Development.json diff --git a/api/Public/appsettings.json b/api/App/appsettings.json similarity index 100% rename from api/Public/appsettings.json rename to api/App/appsettings.json diff --git a/api/Database/klapi.db b/api/Database/klapi.db index e69de29..4140445 100644 Binary files a/api/Database/klapi.db and b/api/Database/klapi.db differ diff --git a/start.sh b/start.sh index 7db9d36..8653b11 100755 --- a/start.sh +++ b/start.sh @@ -34,7 +34,7 @@ ensure_app_window() { start_or_restart_services() { ensure_app_window tmux respawn-pane -k -t "$SESSION_NAME":app.0 -c "$UI_DIR" "bun dev" - tmux respawn-pane -k -t "$SESSION_NAME":app.1 -c "$API_DIR" "dotnet run --project $API_DIR/Public/Public.csproj" + tmux respawn-pane -k -t "$SESSION_NAME":app.1 -c "$API_DIR" "dotnet run --project $API_DIR/Public/App.csproj" tmux select-pane -t "$SESSION_NAME":app.0 tmux select-window -t "$SESSION_NAME":app }