ElectricianPro: quoting and invoicing app for tradespeople
A Flutter app that lets an electrician build a quote on site, get it signed on the phone and send it as a PDF by WhatsApp, email or SMS.
The problem
Tradespeople quote jobs on paper or in chat and chase payment by hand. I wanted a phone-first tool that handles quote, signature, invoice and follow-up in one flow, sold as a small monthly subscription.
How I built it
Flutter with Riverpod and go_router on top of Supabase for sign-in, a Postgres database with row-level security, and file storage for signatures and photos. A three-step quote builder (customer, items, review) draws on 20 electrician templates in 7 categories, then produces a PDF, captures a hand-drawn signature, and shares through WhatsApp, email or SMS. The same PDF service switches its header to produce an invoice.
What got hard
- The scope grew in layers, from a quote builder to a job platform with a price book, scheduling, expenses, payments, bookings, contracts, checklists and team members.
I added each layer as its own additive SQL migration (schema v2 on 12 March, v3 on 13 March), so the live database never had to be rebuilt, and all user-owned tables carry row-level security.
- A customer needs to open a quote or booking page without an account.
I designed the client portal around per-quote access tokens, with token tables kept outside row-level security and meant to be reached through server functions instead of open tables.
- The signature pad library changed its API (several parameters were deprecated), and exporting the drawing returned a different data type from the examples.
I moved to the new shape-drawer API and converted the exported image bytes before uploading it to storage, then checked the build on web.
The result
A working app that takes a job from template to signed PDF to invoice on a real Supabase backend, built as my own product.
The ← and → keys turn the page too.