Landing page for Storeys LLC — Healthcare CRE acquisitions and growth partnerships.
Domain: storeys.io
python3 -m http.server 8000
# or: npx serve .- Create project at supabase.com
- Run migrations in SQL Editor:
supabase/migrations/001_create_leads.sqlsupabase/migrations/002_add_evaluation_data.sqlsupabase/migrations/003_add_email_tracking.sql
Copy src/config.example.js to src/config.js and add your Supabase URL and anon key.
# Install Supabase CLI, then:
supabase functions deploy send-verificationSet secrets in Supabase Dashboard → Edge Functions → Secrets:
| Secret | Description |
|---|---|
RESEND_API_KEY |
From resend.com (free tier) |
SITE_URL |
https://storeys.io (or your domain) |
FROM_EMAIL |
Storeys <verify@storeys.io> (verify domain in Resend) |
Deploy the webhook to track delivered/opened/clicked:
supabase functions deploy email-webhookIn Resend Dashboard → Webhooks → Add endpoint:
- URL:
https://cuqocomseehkfrmzygpc.supabase.co/functions/v1/email-webhook - Events:
email.delivered,email.opened,email.clicked
- Continue → Saves lead to Supabase (insert on step 1, update on 2–4)
- Get My Valuation → Sends verification email via Edge Function, stores
resend_email_id - Verify link →
verify.html?token=...marksemail_verified_at - Webhook → Updates
email_delivered_at,email_opened_at,email_clicked_atin leads
- Vercel / Netlify: Connect repo, build command: none, output: root
- Edge Function deployed? Run
supabase functions deploy send-verification - RESEND_API_KEY set? Supabase Dashboard → Edge Functions → Secrets
- Check Resend Dashboard → Emails — see if the email was sent, delivered, or bounced
- Spam folder — verification emails from
onboarding@resend.devmay land in spam - Verify domain — Add storeys.io in Resend and use
verify@storeys.ioas FROM_EMAIL