d6bf6c6fe30b012dafe8e27de6af6d8cf3924d76
Dev (Vite dev server / e2e mock mode): falls back to 'http://localhost:5179' so Playwright route interception on http://localhost:5179/** keeps working. Production (npm run build -> PROD=true): falls back to '/api' so nginx proxy strips the prefix without any hostname baked in at build time. VITE_API_BASE_URL (set by Aspire in dev, injected LAN IP) always wins over both. Evidence: npm run e2e 48/48 PASS (mock mode, both viewports). Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
GerbilManager
GerbilManagerWebAPI/— ASP.NET Core backend (Swagger unter/swagger)gerbil-manager-web/— React-Frontend (Vite + TypeScript), siehegerbil-manager-web/README.md
Requirements
Install ef:
dotnet tool install --global dotnet-ef
Used cmd´s
Start containers
docker compose up
Create the initial database
dotnet ef database update
Create an migration script
dotnet ef migrations add
Docker
force compose rebuild
docker-compose build --no-cache
Frontend (gerbil-manager-web)
cd gerbil-manager-web npm install npm run dev
TODO:
- Backup docker volume database
- run "dotnet ef database update" if no database exist.
Description
Languages
C#
43%
TypeScript
34.5%
Python
18%
CSS
3.7%
Shell
0.5%
Other
0.1%