Full Stack Developer
Business Energy Claim
End-to-end UK business energy mis-selling claims platform — eligibility intake, e-signature client portal, admin CRM, and automated supplier disclosure letters.

8
Lead pipeline stages
8
Edge Functions
19
DB migrations
Challenge
UK businesses affected by hidden broker commissions on commercial energy contracts needed more than a landing page — they required a full claim lifecycle: eligibility screening, contract evidence upload, legal document e-signing, claim status tracking, and automated disclosure letters to energy suppliers.
Solution Architecture
- Multi-step eligibility wizard — industry, broker usage, supplier, contract date, commission disclosure, UK phone/postcode validation, contract file upload to Supabase Storage
- Magic-link client portal — claim status timeline, document uploads, in-browser e-signing (canvas + typed signature → PDF via
pdf-lib), realtime Supabase channel updates - Admin CRM dashboard — 8 pipeline statuses (new → contacted → signed → qualified → converted/rejected/disqualified/review), search/filter, inline status updates with automated emails
- Disclosure letter workflow — admin panel, dedicated tracking page, automated follow-up and final-notice cron processors, SMTP with dedicated
bec@axis.lawyersender - Analytics — Recharts pie/bar/line charts, Google Tag Manager integration, JSON-LD
LegalServiceschema - Dual auth flows — admin password login + client magic-link login with isolated public Supabase client to prevent session conflicts
flowchart TB
Business[Business Visitor] --> Landing[Marketing Landing]
Landing --> Eligibility[Eligibility Wizard]
Eligibility --> Storage[(Supabase Storage)]
Eligibility --> Leads[(energy_claim_leads)]
Client[Client] --> Portal[Client Portal]
Portal --> ESign[E-Sign PDF]
ESign --> SignedDocs[(signed_documents)]
Admin[Admin] --> CRM[Dashboard CRM]
CRM --> Leads
Admin --> Disclosure[Disclosure Letters]
Disclosure --> Suppliers[Energy Suppliers]
Disclosure --> EdgeFns[8 Edge Functions]
Results
- Shipped DisclosureLettersPanel for document workflow UX and coordinated feature branch merges
- Built automated supplier disclosure pipeline with initial, follow-up, and final-notice letter types
- Delivered in-browser e-signing with PDF generation and signed document storage
- Configured GTM tracking, GDPR legal pages, and firm settings management
Timeline
| Phase | Focus | |-------|-------| | Phase 1 | Marketing landing, eligibility wizard, thank-you flow | | Phase 2 | Client portal, magic-link auth, e-signature dialog | | Phase 3 | Admin CRM, analytics, status automation emails | | Phase 4 | Disclosure letter pipeline, firm settings, GTM setup | | Ongoing | Validation fixes, branch merges, supplier follow-up automation |