Roofing Calculator + Admin Dashboard
Interactive multi-step roofing quote calculator with automatic PDF generation, transactional email, and admin dashboard. Single Firebase Functions backend deployed across 2 sites (velka.ro Shopify + tablatiptigla.ro Next.js) with unified codebase and source-aware behavior.

The situation
Two brands (Velka and Tablatiptigla), two sites on different stacks, one shared need: a fast and elegant quote calculator where the customer enters their house type and dimensions in a few steps, instantly receives an offer as a PDF and email, and where the owner has a single place to see and manage every request. The calculation logic, branding, and email servers had to differ per brand — but the codebase had to be one. Easy to maintain, cheap to run.
What we built
We built the system in three pieces: the customer-facing quote calculator, a Firebase backend that takes the request and sends the offer by email with a PDF attached, and an admin dashboard where the owner sees everything in real time. The same backend serves both brands but switches identity per request — different branding, logo, and email server, with no manual work. The calculator generates the PDF instantly in the customer's browser. The dashboard has Google login, filters by status and source, and a PDF regeneration feature that preserves old quotes whenever the brand evolves. Anti-spam protection via reCAPTCHA and per-IP rate limiting.