scapemade
Overview

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.

  1. Create your development project

    Sign up at Supabase, then create a project named Yard Manager. Keep the database password in your password manager.

  2. Add the connection settings

    Find the project URL and publishable key in the project’s Connect dialog. In this app folder, copy .env.example to .env.local and fill in:

    NEXT_PUBLIC_SUPABASE_URL=your-project-url NEXT_PUBLIC_SUPABASE_PUBLISHABLE_KEY=your-publishable-key APP_URL=http://127.0.0.1:3000

    No service-role key is needed.

  3. Create the private yard table

    Open the project’s SQL Editor. Run the contents of supabase/migrations/202611150001_create_yards.sql from this app. It creates the table and account-ownership policies.

  4. Configure email confirmation

    In Authentication URL Configuration, set the development Site URL to http://127.0.0.1:3000 and add http://127.0.0.1:3000/auth/callback as an allowed redirect. Keep email confirmation enabled.

  5. 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