npm install
npm run devOpen http://localhost:3000. The app deliberately works in visual demo mode until Supabase values are configured.
- Create a Supabase project, copy
.env.exampleto.env.local, and fill in its variables. - Run
supabase/schema.sqlin the SQL Editor; create a private bucket calleddiary-media. - In Auth settings enable email magic links and restrict permitted users to your email. Add Vercel's URL to Auth redirect URLs.
- Deploy to Vercel and add the same environment variables there.
The included schema enables RLS on all data. Storage should remain private and be read with short-lived signed URLs from server-side actions.