Multi-million-real contracts · SOX-audited
Commercial Opportunity Management
Replaced the spreadsheet-and-email process Brazil's largest fuel distributor used to evaluate, approve and contract new gas-station clients.
- Client
- Vibra Energia / Petrobras
- Role
- Core full-stack engineer
- Sector
- Energy
- Region
- Brazil
Context
Vibra Energia evaluated, approved and contracted new gas-station clients through spreadsheets and email. The flow moves multi-million-real contracts and is audited under SOX, so traceability wasn't optional.
What I own
I own features end to end, from refining requirements with business analysts through backend, frontend and production support:
- The approval-hierarchy saga that routes deals through commercial, credit and legal gates.
- The credit and integrity due-diligence flow.
- The contract lifecycle up to electronic signature.
Integrations
I designed the integrations the product depends on: Salesforce CRM, Microsoft Entra ID, DocuSign, SAP and external credit bureaus. That includes the failure semantics that stop a rejected external write from corrupting deal state.
Engineering conventions
I set backend conventions that CI now enforces: typed error contracts, an append-only audit trail, a transactional outbox and a migration policy. When production or pipeline failures kept recurring, I diagnosed them and turned each one into a regression test.
Stack
- NestJS
- TypeScript
- Next.js
- PostgreSQL
- TypeORM
- Docker
- AWS ECS
- GitHub Actions