DEVELOPMENT SETUP
Connect a home for your data.
Supabase handles accounts and stores private yard records.
Connection settings are present. Sign-in and a successful yard save are still needed to verify the backend.
Create your development project
Sign up at Supabase, then create a project named Yard Manager. Keep the database password in your password manager.
Add the connection settings
Find the project URL and publishable key in the project’s Connect dialog. In this app folder, copy
.env.exampleto.env.localand fill in:NEXT_PUBLIC_SUPABASE_URL=your-project-url NEXT_PUBLIC_SUPABASE_PUBLISHABLE_KEY=your-publishable-key APP_URL=http://127.0.0.1:3000No service-role key is needed.
Create the private yard table
Open the project’s SQL Editor. Run the contents of
supabase/migrations/202611150001_create_yards.sqlfrom this app. It creates the table and account-ownership policies.Configure email confirmation
In Authentication URL Configuration, set the development Site URL to
http://127.0.0.1:3000and addhttp://127.0.0.1:3000/auth/callbackas an allowed redirect. Keep email confirmation enabled.Restart and test
Restart the app, create an account, confirm the email in the same browser, and sign in. Add a yard, then reopen, edit, and delete it. The app README includes the two-account privacy test.
Create an account