Plataforma de Faturamento SaaS
SaaS de faturamento serverless que reduziu custos de infra e latência no fechamento mensal.
The challenge
O cliente gastava R$ 4.500 mensais com instâncias pesadas da AWS e sofria com picos de latência no fechamento de faturas.
The approach
Migramos todo o ecossistema para arquitetura serverless distribuída com proxy de borda, autenticação JWT na edge e banco Neon com autoscaling.
The solution
Timeline
Como o projeto foi conduzido, do mapeamento ao deploy. How the project was conducted, from mapping to deploy.
Methodology
Como o projeto foi conduzido, do mapeamento ao deploy. How the project was conducted, from mapping to deploy.
Architecture
Conceptual diagram — does not reflect real implementation
Tech stack
Technical choices and what was left out.
Decision log
What I chose, what I rejected, and why.
Next.js 15 instead of a SPA
Why: I chose a hybrid rendering architecture for SEO, SSR and better initial performance. A pure SPA would have hurt indexing and first-load experience.
Rejected alternatives: Traditional SPA with React Router — rejected due to lack of SSR and dynamic metadata.
PostgreSQL instead of MongoDB
Why: I picked a relational database because the catalogs, inventory and orders require consistency and well-defined relationships.
Rejected alternatives: MongoDB — rejected because the project data model benefits more from strict schemas and ACID transactions.
Tiered gamification instead of open leaderboards
Why: I built a closed tier system to recognize progress without exposing all users on public rankings, preventing early users from feeling demotivated.
Rejected alternatives: Open global leaderboard — rejected because it pressures beginners and hides individual progress.
FASSI.AI
Respostas validadas contra catálogo. Fallback para busca estática. Cache de 24h. Responses validated against catalog. Fallback to static search. 24h cache.
Gamification
Sistema de motivação estruturado para vendedores. Structured motivation system for sales teams.
Experience points (XP)
Every sales action earns XP, making progress visible and measurable.
Leagues and seasons
Performance-based leagues with promotion and relegation each cycle.
Badges and achievements
Recognition for specific goals, cadence, and sales consistency.
Live ranking
Real-time leaderboard to stimulate healthy competition.
Rewards and unlocks
Tangible benefits unlocked at each score threshold.
Challenges and missions
Short-term objectives to keep engagement and test new tactics.
Gamification
Security and access
Results
Client-reported results during rollout
Client-reported data
Lessons learned
Not everything went as planned.
— Sellers adopt when the manager adopts first
— Gamification works until it becomes routine — it needs seasonal mechanics
— Content curation is more important than the technology itself
Ready to build something similar?
I transformed a complex ecosystem into an intuitive platform that scales with the business. I can do the same for yours.