Files
Hoard/.gitignore
T
Jonas 522d31dc6e Serve SPA from API and add health endpoint
Switch backend to serve the built SPA and static assets, add a minimal health endpoint, and clean up template code. Changes: added API/Controllers/HealthController.cs (GET /api/health -> 200), removed WeatherForecast controller and model, removed OpenAPI package reference and OpenAPI wiring from API.csproj/Program.cs, updated Program.cs to serve wwwroot with default files/static files and a SPA fallback that returns index.html for non-/api routes (/api/* returns 404), updated GUI/vite.config.ts to output build to API/wwwroot and clear the directory, added API/wwwroot to .gitignore, and updated codexInfo.md to document these changes. This enables the GUI build to be deployed directly into the API project and served as a single-page app.
2026-04-18 12:45:02 +02:00

108 lines
1.3 KiB
Plaintext

## .NET + Visual Studio + Vite/Vue
## Temporary files, local IDE state, build artefacts and caches
# Build outputs
[Dd]ebug/
[Dd]ebugPublic/
[Rr]elease/
[Rr]eleases/
x64/
x86/
[Ww][Ii][Nn]32/
[Aa][Rr][Mm]/
[Aa][Rr][Mm]64/
bld/
[Bb]in/
[Oo]bj/
out/
publish/
artifacts/
[Ll]og/
[Ll]ogs/
# Visual Studio / Rider / editor state
.vs/
.vscode/*
!.vscode/extensions.json
.idea/
_ReSharper*/
*.DotSettings.user
*.suo
*.user
*.userosscache
*.rsuser
*.ntvs*
*.njsproj
*.sln.docstates
*.sw?
# .NET / NuGet
project.lock.json
project.fragment.lock.json
*.nupkg
*.snupkg
packages/
!packages/build/
ScaffoldingReadMe.txt
# MSBuild / diagnostics
*.binlog
[Bb]uild[Ll]og.*
msbuild.log
*.svclog
# Tests / coverage
[Tt]est[Rr]esult*/
[Tt]est[Rr]esults/
TestResults/
CodeCoverage/
coverage/
.coverage
.coverage.*
*.coveragexml
*.trx
*.VisualState.xml
TestResult.xml
nunit-*.xml
# Frontend / Node / Vite
node_modules/
dist/
dist-ssr/
API/wwwroot/
.vite/
.npm/
.pnpm-store/
.eslintcache
.stylelintcache
*.tsbuildinfo
vite.config.ts.timestamp-*.mjs
cypress/videos/
cypress/screenshots/
__screenshots__/
# Environment / local overrides
.env.local
.env.*.local
*.local
# Temporary files
~$*
*~
*.tmp
*.temp
*.bak
# Logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*
lerna-debug.log*
# OS files
.DS_Store
Thumbs.db
Desktop.ini