Jul 2025 – PresentRemote
Senior Full-Stack Software Engineer · BrasilTec
Multi-tenant ERP and B2B marketplace (Mercado Livre, Google Ads, storefront) plus the company's online university platform — 6 tenant databases. Sole developer on the university; alongside 3 senior and 2 junior engineers on the ERP.
- → Rebuilt BrasilTec's edtech platform from scratch in 6 weeks, replacing a legacy PHP system with NestJS + React/TypeScript. Backend, frontend, admin panel and data migration, all by myself. The platform now has 5,143 users, 6,983 enrollments and 10 published courses.
- → Added AI features to the same platform, all in production: automatic transcription with OpenAI Whisper in Portuguese, English and Spanish, lesson search based on transcripts, auto-generated lesson summaries with exact video timestamps, and an AI question generator.
- → Cut the heaviest product query from 1.21s to 47ms (26x) and up to 99.7% of database round-trips by eliminating N+1 patterns across a 6-tenant PostgreSQL system, validated with zero divergence across 65,000 products. Tuning shared_buffers, JIT thresholds and functional indexes took cache hit ratio to 98.92% and the worst polling query from 653ms to 1.9ms.
- → Made every lesson usable by deaf and hard-of-hearing students and by the 10% of learners outside Brazil, with an automated captioning pipeline (OpenAI Whisper) generating Portuguese, English and Spanish subtitles across 100+ hours of video.
- → Cut the application server footprint by 50%+ by moving product photos, course videos and captions off the box to Amazon S3 and a CDN — previously every asset lived on the server itself.
- → Rewrote a legacy PHP playlist query from 470ms to 0.18ms and closed a SQL injection in the same file, deployed with no schema change and a one-command rollback.
- → Recovered 82GB of disk (91% to 81%) and eliminated ~3% network packet loss on the production host running 147 containers, with zero service interruption.
- → Turned the entire student base into qualified leads inside the company's sales platform, unifying legacy and new enrollment records through platform-to-platform ERP integration.
