V20 setup
Dispatch Lite backend setup
V20 includes the website pages and Netlify Function needed for a lightweight operations system. Persistent storage is activated by adding Supabase credentials to Netlify and running the included SQL schema.
- Create a Supabase project.
- Run SUPABASE_DISPATCH_LITE_SCHEMA.sql in the Supabase SQL editor.
- Add these Netlify environment variables: SUPABASE_URL, SUPABASE_SERVICE_ROLE_KEY, and DRAGONFLY_ADMIN_KEY.
- Deploy the site and visit /admin-dispatch.
- Submit a test record using the quote approval or status/POD workflow, then verify reference lookup.
Security note: The Supabase service role key must only live in Netlify environment variables. Do not paste it into HTML or browser-side JavaScript.
Customer tools
Reference lookup, quote approval response, and Status/POD requests.
Dispatch tools
Admin dashboard, status update, POD notes, public message, and record filtering.
Future-ready
This structure can later support file uploads, customer login, SMS/email status notifications and driver workflows.