EPIQR Renovation Platform
A web platform for planning building renovations: diagnose each element of a building, model interventions as scenarios, compare energy savings and costs, and export the report.
A heavy model in a browser tab
One building carries dozens of elements, diagnoses, interventions and scenarios in three languages. Loading and recalculating that froze the page, and every report had to come out as a printable PDF.
- React / Redux front end: building, diagnosis, scenario and report screens
- Web Workers for loading and updating building structures
- Symfony 5 REST controllers, services and validators
- Stripe checkout and customer portal
- Vagrant dev environment and onboarding docs
Many forms and tables per building, shared state across screens.
PDF reports built in the browser, in English, French or Spanish.
REST controllers over a large Doctrine model; stateless JWT auth.
About fifty entities with translation tables; subscriptions through Stripe.
Fetching and rebuilding a building's structure runs off the main thread and can be aborted when the user switches building.
Message passing and a worker loader in the webpack build.
Reports are rendered with react-pdf from the data already on screen, so the server needs no PDF stack.
A bigger bundle and client CPU on long reports.
An event subscriber keeps one reference scenario per building, whatever screen or endpoint saves it.
Side effects hidden from the controller that triggered them.