A Next.js web application that connects neighbors to share excess fruit from their yards. Built with privacy-first features and real-time messaging.
- npm or yarn
- Supabase account (free tier works)
- Create a new project at supabase.com
- Go to Project Settings > API
- Copy your project URL and anon key
- Open your Supabase project
- Go to SQL Editor
- Run the SQL from
DATABASE_SETUP.sql - Run the SQL from
DATABASE_MIGRATION_ADD_COLUMNS.sql
Copy .env.example to .env.local:
npm run devOpen http://localhost:3000 in your browser.
- Push your code to GitHub
- Go to vercel.com
- Click "New Project"
- Import your GitHub repository
- Add environment variables:
NEXT_PUBLIC_APP_URL= your production URLNEXT_PUBLIC_SUPABASE_URL= your Supabase URLNEXT_PUBLIC_SUPABASE_ANON_KEY= your Supabase anon key
- Click "Deploy"
bash
- Update your Supabase allowed redirect URLs:
- Go to Authentication > URL Configuration
- Add your Vercel URL:
https://your-app.vercel.app/**
- Update
NEXT_PUBLIC_APP_URLin Vercel environment variables to your production URL
MIT
Built with help from Claude Code