chore: auto-commit after execute-task

GSD-Unit: M001/S06/T01
This commit is contained in:
2026-03-27 08:54:34 +01:00
parent 7a44ebbd77
commit bdc47dde7f
31 changed files with 2017 additions and 966 deletions
+23
View File
@@ -55,6 +55,29 @@ dotnet run
By default the API listens on `http://localhost:5202` (see `JobTrackerApi/Properties/launchSettings.json`).
### Local preflight before browser/UAT
Run the backend first from `JobTrackerApi/`, then use the preflight gate from the repo root:
```bash
bash scripts/s06-preflight.sh
```
The preflight assumes the dev pairing used by `job-tracker-ui/src/api.ts` and `JobTrackerApi/appsettings.Development.json`:
- UI origin: `http://localhost:3000`
- API base: `http://localhost:5202/api`
It first checks the anonymous `GET /api/auth/config` endpoint, then probes `GET /api/admin/system` for DB/Gmail/AI readiness.
If auth is enabled and `/api/admin/system` returns `401/403`, export an admin bearer token first and rerun:
```bash
export AUTH_TOKEN="<admin bearer token>"
bash scripts/s06-preflight.sh
```
To obtain a local admin token in dev, log in against the API with the seeded admin email/password from `JobTrackerApi/appsettings.Development.json` (or your environment override) via `POST /api/auth/login`, then export only the returned access token. The script never prints token values. Use `API_BASE` if your API is not on the default dev port.
### 2) Run the UI
```bash