Overview
ESGTree is a multi-tenant SaaS platform that helps financial institutions onboard SME portfolio companies, collect emissions data, and generate PCAF-aligned financed emissions reports. It serves two personas from one backend: a data-dense firm dashboard for portfolio analysts and a guided step-by-step wizard for SMEs entering their own data.
As Senior Software Engineer (contract) since August 2025, I built the engineering team and lead architecture and delivery. With a team of 2, I took the product from an idea to production in under 4 weeks, making deliberate tradeoffs for speed and validation. It won a competitive vendor demo with Desjardins, secured a paid pilot, and I then led the full-scale rollout.
To move from prototype to production platform, I led a refactor to modular NestJS with tenant-aware data access, Drizzle ORM, session-based dual authentication, invitation flows and bulk import, plus a database-driven activity model and an Excel seed system for 13 countries in English and French.
I also set how the team ships. CI runs typecheck, unit, backend e2e on Postgres 16 and Playwright, with AI code and security review on every pull request. Every PR gets a throwaway Railway preview with its own database, the suite has grown to 300+ test files, and client-facing work ships behind PostHog feature flags with Sentry error tracking.
What I built
Idea to Paid Pilot to Rollout
Took the product from an idea to production in under 4 weeks with a team of 2. Won a competitive vendor demo with Desjardins, secured the paid pilot, and led the full-scale rollout.
PCAF-Aligned Emissions Engine
Built a calculation engine for Scope 1, 2, and 3 financed emissions using the PCAF standard: Attribution Factor, Gross Emissions, and Data Quality Scoring. Supports spend-based proxy estimation for all 5 activity types when direct data is unavailable.
AI-Powered Document Ingestion
SMEs upload CSV, Excel, or PDF files to fill emissions forms. A multi-stage pipeline extracts data through header matching or OpenAI, validates it, and sends it for human review before acceptance.
Dual-Interface Product Design
Two tailored interfaces from a single backend: a data-dense firm dashboard for portfolio analysts and a guided step-by-step wizard for SME data entry, each built for its persona's workflow.
Modular Multi-Tenant Architecture
Led the move to modular NestJS with tenant-aware data access, session-based dual authentication, invitation flows and bulk import. A database-driven activity model and hash-gated Excel seeds for 13 countries and bilingual entry let emissions factors change without code changes.
CI, AI Review & Preview Environments
Split GitHub Actions into typecheck/build, unit, backend e2e on Postgres 16, and Playwright, with path filters and cancel-on-push. A Claude code review and a security review run on pull requests, and every PR gets an isolated Railway app and database, seeded with test logins for each user type.
Safe Releases & Observability
Grew the suite to 300+ test files across unit, integration, backend e2e and Playwright. Client-facing work ships behind PostHog feature flags with Sentry error tracking, and the server binds its port before migrations so a bad deploy serves 503 while the database catches up.
Results
- Took the product from idea to production in under 4 weeks with a team of 2.
- Won a competitive vendor demo with Desjardins, secured the paid pilot, and led the full-scale rollout.
- Built the engineering team and set its scoping, review, and testing standard.
- 300+ test files across unit, integration, backend e2e, and Playwright.
- An isolated Railway preview app and database for every pull request.
- 13 countries and bilingual (EN/FR) entry via a hash-gated, Excel-driven seed system: no code changes to update emissions factors.







