Go to supabase.com, sign up or sign in, click New project, and give it a name and database password. Wait ~2 minutes for it to finish provisioning, then open Project Settings → API to find your Project URL and anon public key for the next step.
Paste your Project URL and anon public key (never the service_role key) — this saves them locally so you can test everything below before handing the real file to your host.
In Supabase, open SQL Editor → New query, paste in the entire schema below, and click Run. It creates every table, security rule, and the document storage bucket this app needs — safe to run more than once.
Once step 2 is saved and step 3 is verified, download a copy of this exact page with your URL/key already filled in — upload it (replacing index.html) to your host (Netlify, Vercel, GitHub Pages, etc.) so every BESCO/EPS user gets the same working connection, not just this browser.
In Supabase, go to Authentication → Providers → Email and turn off "Confirm email" so your team can sign up and start immediately. Then deploy the folder (this file + schema.sql + DEPLOYMENT.md) to any free static host — drag it onto app.netlify.com/drop for the fastest option. Full details are in DEPLOYMENT.md.
Comments