7 Commits

Author SHA1 Message Date
EugeneTes
46a5f40f23 Add Dockerfile + docker-compose for Coolify deployment
Multi-stage build: node builds the SPA, dotnet publishes the API, the
runtime image serves the SPA from wwwroot/ and exposes /health. Frontend
Supabase URL + publishable key are baked in at build time; DB conn string
and Supabase JWKS metadata come from Coolify env vars. VITE_API_URL empty
means same-origin, so the browser hits /api/todos on the same host that
serves the SPA.
2026-08-15 12:10:45 +00:00
EugeneTes
94fe6d3358 Switch backend port from 5000 to 5057
Port 5000 caused recurring collisions with stray processes across subagent
runs. 5057 is uncontested in this environment. CORS unaffected (Vite dev
origin is 5173).
2026-08-15 11:51:23 +00:00
EugeneTes
a2b78fc856 Enable CORS for the Vite dev origin 2026-08-15 11:35:34 +00:00
EugeneTes
5d9eef56ff Add TodosController with GET/POST/PATCH/DELETE endpoints 2026-08-15 11:33:42 +00:00
EugeneTes
73676d3d01 Configure JWT bearer auth against Supabase JWKS via OpenID metadata 2026-08-15 11:32:16 +00:00
EugeneTes
1e2a60880e Add EF Core, Npgsql, Todo entity, and AppDbContext 2026-08-15 11:29:39 +00:00
EugeneTes
f7b0b7fb59 Scaffold ASP.NET Core Web API backend 2026-08-15 11:26:23 +00:00