Commit Graph

9 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
42a739ab35 Minimize Vite template's index.css to avoid clashing with inline styles
The scaffolded template shipped an opinionated marketing-page CSS
(fixed #root width, large h1 sizes, letter-spacing) that made the
TodoList header overlap. Replaced with a minimal reset so component
inline styles render as intended.
2026-08-15 12:03:56 +00:00
EugeneTes
41ac4fd662 Route between sign-in and todo list based on session 2026-08-15 11:57:09 +00:00
EugeneTes
77511a02af Add TodoList component 2026-08-15 11:56:12 +00:00
EugeneTes
aa27ac1142 Add authenticated fetch wrapper for the todos API 2026-08-15 11:55:09 +00:00
EugeneTes
cbcba53943 Add sign-in / sign-up form 2026-08-15 11:54:19 +00:00
EugeneTes
676b3b3a86 Add AuthProvider tracking Supabase session 2026-08-15 11:53:22 +00:00
EugeneTes
22240c89e8 Add Supabase client and env template 2026-08-15 11:52:31 +00:00
EugeneTes
a1ac658fce Scaffold Vite + React + TypeScript frontend 2026-08-15 11:50:53 +00:00