Nélio Espíndula Junior
← Back to thoughts

Engineering

My Next.js Folder Structure for Real Projects

January 11, 2026 · 8 min read

Folder structure is not about being clever. It is about reducing hesitation when you return to the code later.

Principles I Follow

  • Route-specific logic stays close to the route.
  • Reusable parts live in obvious shared places.
  • Names explain intention, not technical trivia.

The goal is not perfect organization. The goal is easy maintenance.