Pular para o conteúdo

← Portfólio não é currículo: como transformei o lagrotti.dev em um produto de engenharia

Portfólio não é currículo: como transformei o lagrotti.dev em um produto de engenharia

Português ↔ English

Por que transformar o portfólio em produto

Durante muito tempo eu tratei portfólio como quase todo desenvolvedor trata: uma página bonita, uma lista de tecnologias e alguns links para GitHub.

O problema é que isso informa muito pouco.

Dizer que eu trabalho com Node.js, TypeScript, PostgreSQL, Kafka ou Docker não responde às perguntas que realmente importam para quem está considerando me contratar:

  • Que tipo de problema eu sei decompor?
  • Que decisões eu tomo quando existem trade-offs reais?
  • Eu sei quando usar microserviços e, principalmente, quando não usar?
  • Como eu penso em segurança, observabilidade, testes e operação?
  • Consigo transformar regra de negócio confusa em software que alguém consegue usar?

Foi daí que nasceu a versão atual do lagrotti.dev: não como uma vitrine de tecnologias, mas como um produto cujo objetivo é reduzir a distância entre "eu digo que sei" e "eu consigo mostrar como penso".

A primeira decisão: parar de organizar o site por tecnologia

Uma página com vinte logos de stack é fácil de montar. Ela também envelhece rápido e faz projetos completamente diferentes parecerem iguais.

No meu caso, um sistema de analytics que processa milhões de eventos por dia não deveria ser apresentado do mesmo jeito que um portal para um escritório de arquitetura ou um fluxo de compliance regulatório com IA.

Por isso, os projetos principais passaram a seguir uma estrutura parecida:

  1. Contexto — qual era o negócio e por que o problema existia.
  2. Desafio — qual parte realmente exigia engenharia.
  3. Arquitetura — como o sistema foi organizado.
  4. Decisões — o que eu escolhi, o que descartei e por quê.
  5. Stack — só depois de entender o problema a tecnologia entra em cena.

Essa ordem parece uma escolha editorial, mas é também uma escolha de engenharia de comunicação.

Tecnologia sem contexto vira palavra-chave. Decisão com contexto vira evidência.

O site também precisava mostrar amplitude sem virar bagunça

Minha experiência atravessa backend, frontend, infraestrutura, dados e IA. Tentar colocar tudo no primeiro scroll faria o site parecer uma lista de supermercado.

A solução foi separar profundidade de amplitude.

Os estudos de caso recebem espaço para explicar decisões importantes. Já os projetos menores aparecem como um inventário mais compacto, suficiente para mostrar variedade sem competir com o que realmente merece leitura longa.

Hoje essa estrutura permite colocar lado a lado trabalhos como:

  • VMageste, com arquitetura orientada a eventos, Kafka e ClickHouse;
  • ImpressãoMais3D, em que a decisão mais importante foi proteger o processo físico de produção;
  • Eurologado, onde IA auxilia a criação, mas validação estruturada continua decidindo conformidade;
  • DevAgent, um experimento de engenharia autônoma em que o agente entrega pelo mesmo pull request que um humano entregaria.

A stack muda. O padrão que eu queria deixar visível é outro: entender o risco do domínio antes de escolher a ferramenta.

Next.js e Tailwind foram a parte fácil

O site é construído com Next.js e Tailwind CSS. Isso importa, mas foi a parte menos interessante da arquitetura.

A parte que mais exigiu cuidado foi modelar conteúdo para que ele pudesse crescer sem transformar cada nova página em trabalho manual.

Eu queria que um projeto fosse essencialmente dado estruturado e conteúdo, não uma página artesanal desconectada das outras.

A ideia pode ser resumida assim:

ts
type ProjectCase = {
  slug: string
  category: 'architecture' | 'ai' | 'product'
  status: 'production' | 'development' | 'mvp'
  year?: number
  title: string
  summary: string
  challenge: string
  architecture: string
  decisions: EngineeringDecision[]
  stack: string[]
  metrics?: Metric[]
  links?: ProjectLink[]
}

A interface não precisa saber se está renderizando um SaaS de analytics ou um e-commerce de impressão 3D. Ela sabe renderizar um caso de engenharia.

Esse tipo de modelagem parece exagero quando existem três projetos. Quando existem quinze, vira a diferença entre evoluir o site e ter medo de mexer nele.

O blog segue a mesma filosofia

Eu não queria um CMS só porque "blog precisa de CMS".

Para o meu fluxo, MDX é uma escolha mais coerente: conteúdo versionado junto do código, revisão por diff, syntax highlighting e liberdade para incluir exemplos técnicos sem brigar com um editor visual.

Cada artigo existe em um arquivo por idioma e as traduções são ligadas por uma chave comum:

yaml
---
title: "..."
slug: "..."
translationKey: "portfolio-as-engineering-product"
excerpt: "..."
date: "2026-05-04"
tags: ["engenharia de software", "arquitetura"]
locale: "pt"
---

Na prática, isso me dá uma propriedade importante: o conteúdo é uma parte testável do produto.

Posso validar frontmatter no build, detectar translationKey duplicada, checar slugs, gerar sitemap e impedir que um artigo quebrado chegue em produção.

Internacionalização: três artigos, uma mesma ideia

Eu optei por arquivos separados para português, inglês e espanhol, em vez de um objeto gigante com todas as traduções.

Há uma razão simples: tradução boa não é substituição de string.

Um título que funciona em português nem sempre é o melhor título em inglês. Um parágrafo pode precisar de outra construção para soar natural em espanhol. Separar arquivos permite localizar o texto em vez de apenas traduzi-lo.

O translationKey é a ligação semântica; o slug continua sendo local.

txt
portfolio-como-produto-de-engenharia.pt.mdx
engineering-portfolio-as-a-product.en.mdx
portafolio-como-producto-de-ingenieria.es.mdx
             │
             └── translationKey: portfolio-as-engineering-product

É simples, explícito e fácil de manter.

Performance não é uma nota do Lighthouse

Outro ponto que mudou minha visão durante o desenvolvimento: performance de portfólio não é competir por 100/100 em uma ferramenta. É eliminar atrito entre a pessoa chegar e entender o que eu faço.

Isso inclui performance técnica, claro:

  • renderização estática sempre que possível;
  • JavaScript de cliente apenas onde existe interação real;
  • imagens dimensionadas corretamente;
  • fontes e assets sem bloquear a leitura;
  • metadados e sitemap gerados no build.

Mas também existe performance cognitiva.

Se a pessoa precisa interpretar uma animação antes de descobrir minha especialidade, eu perdi tempo dela. Se precisa abrir cinco páginas para saber o que eu construí, eu criei latência sem rede nenhuma.

Essa foi uma regra recorrente no projeto: efeito visual nunca pode atrasar entendimento.

O que eu faria diferente se começasse hoje

Eu começaria pelos estudos de caso, não pela home.

A home fica muito mais fácil quando já existe clareza sobre quais histórias ela precisa levar o visitante a ler. Fazer o contrário costuma produzir uma página genérica e depois tentar encaixar projetos nela.

Também criaria desde o primeiro commit uma pequena validação de conteúdo:

ts
const PostSchema = z.object({
  title: z.string().min(10),
  slug: z.string().regex(/^[a-z0-9-]+$/),
  translationKey: z.string().min(3),
  excerpt: z.string().min(40).max(180),
  date: z.string(),
  tags: z.array(z.string()).min(1),
  locale: z.enum(['pt', 'en', 'es']),
})

Conteúdo estruturado merece as mesmas garantias básicas de qualquer outra entrada do sistema.

A lição que ficou

Construir esse site me lembrou de uma coisa que vale para produto, arquitetura e carreira: a implementação só é convincente quando a decisão por trás dela é visível.

Um cliente não precisa saber todos os detalhes de Kafka. Um recrutador não precisa conhecer a diferença entre OLTP e OLAP. Mas os dois conseguem perceber quando alguém entende o problema antes de vender a solução.

Foi isso que eu tentei codificar no portfólio.

Não apenas "estas são as tecnologias que eu uso", mas:

este era o problema, este era o risco, esta foi a decisão e este foi o resultado.

Para mim, esse é um portfólio muito mais útil do que uma coleção de screenshots.

Se você está avaliando uma arquitetura, uma automação com IA ou um produto que precisa sair do PowerPoint e virar software de verdade, os estudos de caso do site são provavelmente o melhor lugar para entender como eu trabalho.

Why turn a portfolio into a product

For a long time I treated my portfolio the way many developers do: a polished page, a list of technologies, and a few GitHub links.

The problem is that this tells people very little.

Saying I work with Node.js, TypeScript, PostgreSQL, Kafka, or Docker does not answer the questions that actually matter to someone considering hiring me:

  • What kind of problem can I decompose?
  • What decisions do I make when the trade-offs are real?
  • Do I know when to use microservices and, more importantly, when not to use them?
  • How do I think about security, observability, testing, and operations?
  • Can I turn messy business rules into software people can actually use?

That is where the current version of lagrotti.dev came from: not as a technology showcase, but as a product designed to shorten the distance between "I say I can do this" and "here is how I think."

The first decision: stop organizing the site around technologies

A page with twenty stack logos is easy to build. It also gets stale quickly and makes completely different projects look identical.

A marketing analytics system processing millions of events per day should not be presented the same way as an architecture studio portal or an AI-assisted regulatory compliance workflow.

So the main projects started following roughly the same structure:

  1. Context — what the business was and why the problem existed.
  2. Challenge — which part actually required engineering.
  3. Architecture — how the system was organized.
  4. Decisions — what I chose, what I rejected, and why.
  5. Stack — technology only appears after the problem is understood.

That may look like an editorial decision, but it is also a communication architecture decision.

Technology without context becomes a keyword. A decision with context becomes evidence.

The site needed to show breadth without becoming noise

My work spans backend, frontend, infrastructure, data, and AI. Putting all of that above the fold would turn the page into a grocery list.

The solution was to separate depth from breadth.

The engineering case studies get enough room to explain important decisions. Smaller projects live in a more compact inventory that shows range without competing with the stories that deserve a longer read.

That makes it possible to place very different systems next to each other:

  • VMageste, with event-driven architecture, Kafka, and ClickHouse;
  • ImpressãoMais3D, where the most important decision was protecting a physical production workflow;
  • Eurologado, where AI assists document creation but structured validation remains responsible for compliance;
  • DevAgent, an autonomous engineering experiment where the agent delivers through the same pull request workflow a human would use.

The stack changes. The pattern I wanted to make visible does not: understand the domain risk before choosing the tool.

Next.js and Tailwind were the easy part

The site is built with Next.js and Tailwind CSS. That matters, but it was the least interesting part of the architecture.

The harder part was modeling content so the site could grow without turning every new page into custom work.

I wanted a project to be mostly structured data and content, not a one-off page disconnected from everything else.

The idea can be simplified to something like this:

ts
type ProjectCase = {
  slug: string
  category: 'architecture' | 'ai' | 'product'
  status: 'production' | 'development' | 'mvp'
  year?: number
  title: string
  summary: string
  challenge: string
  architecture: string
  decisions: EngineeringDecision[]
  stack: string[]
  metrics?: Metric[]
  links?: ProjectLink[]
}

The UI does not need to know whether it is rendering an analytics SaaS or a 3D-printing e-commerce platform. It knows how to render an engineering case.

That level of modeling looks excessive when you have three projects. When you have fifteen, it becomes the difference between evolving the site and being afraid to touch it.

The blog follows the same philosophy

I did not want a CMS just because "blogs need a CMS."

For my workflow, MDX is a better fit: content is versioned with the code, reviewed through diffs, works naturally with code samples, and does not force technical writing through a visual editor.

Each article lives in one file per language, and translations are connected by a shared key:

yaml
---
title: "..."
slug: "..."
translationKey: "portfolio-as-engineering-product"
excerpt: "..."
date: "2026-05-04"
tags: ["software engineering", "architecture"]
locale: "en"
---

That gives me one important property: content becomes a testable part of the product.

The build can validate frontmatter, detect duplicate translationKey values, verify slugs, generate a sitemap, and reject a broken article before it reaches production.

Internationalization: three articles, one idea

I chose separate files for Portuguese, English, and Spanish instead of one large object containing every translation.

The reason is simple: good localization is not string replacement.

A title that works in Portuguese is not always the strongest title in English. A paragraph may need a different rhythm to sound natural in Spanish. Separate files let me localize the writing rather than merely translate it.

The translationKey is the semantic link; the slug remains local.

txt
portfolio-como-produto-de-engenharia.pt.mdx
engineering-portfolio-as-a-product.en.mdx
portafolio-como-producto-de-ingenieria.es.mdx
             │
             └── translationKey: portfolio-as-engineering-product

Simple, explicit, and easy to maintain.

Performance is not a Lighthouse score

Another thing that changed while building the site: portfolio performance is not about competing for a perfect score. It is about removing friction between someone arriving and understanding what I do.

Technical performance still matters:

  • static rendering whenever it makes sense;
  • client-side JavaScript only where there is real interaction;
  • correctly sized images;
  • fonts and assets that do not block reading;
  • metadata and sitemap generated during the build.

But there is also cognitive performance.

If someone has to interpret an animation before discovering what I specialize in, I wasted their time. If they need five clicks to understand what I have built, I introduced latency without a network request.

One rule kept coming back during the project: visual effects must never delay comprehension.

What I would do differently if I started today

I would start with the case studies, not the homepage.

The homepage becomes much easier once you know which stories it needs to lead people toward. Starting with the homepage usually creates something generic, then forces the projects into that shape afterward.

I would also add content validation from the first commit:

ts
const PostSchema = z.object({
  title: z.string().min(10),
  slug: z.string().regex(/^[a-z0-9-]+$/),
  translationKey: z.string().min(3),
  excerpt: z.string().min(40).max(180),
  date: z.string(),
  tags: z.array(z.string()).min(1),
  locale: z.enum(['pt', 'en', 'es']),
})

Structured content deserves the same basic guarantees as any other system input.

The lesson that stayed with me

Building this site reminded me of something that applies to products, architecture, and careers: implementation becomes convincing when the decision behind it is visible.

A client does not need to know every Kafka detail. A recruiter does not need to know the difference between OLTP and OLAP. But both can tell when someone understands the problem before selling a solution.

That is what I tried to encode into the portfolio.

Not just "these are the technologies I use," but:

this was the problem, this was the risk, this was the decision, and this was the result.

To me, that is much more useful than a collection of screenshots.

If you are evaluating an architecture, an AI automation, or a product that needs to move from slides into real software, the case studies on the site are probably the best place to see how I work.