Agrinexis deployment starter

Cloudflare Pages + Supabase + Resend

This starter gives you a production blueprint for hosting www.agrinexis.com with safe email delivery, magic-link authentication, and Cloudflare-managed edge security.

Cloudflare Pages Supabase Magic Link Resend Email Turnstile Protected

Production stack

  • Primary domain: www.agrinexis.com
  • Apex redirect: agrinexis.comwww.agrinexis.com
  • Login: Supabase Auth magic-link
  • Contact email: Cloudflare Pages Function + Resend
  • Bot protection: Cloudflare Turnstile
  • Core docs: see docs/ in this repository

Magic-link login starter

Configure Supabase env vars before testing login.

Contact form starter

Turnstile is stubbed here; connect your site key and widget before production.

Implementation checklist

  1. Set env vars from .env.example and .dev.vars.example.
  2. Create a Supabase project and enable email magic-link auth.
  3. Verify agrinexis.com in Resend and add DNS records.
  4. Deploy this repository to Cloudflare Pages.
  5. Add www.agrinexis.com as custom domain and redirect apex.
  6. Enable Turnstile and validate tokens in /api/contact.