// the find
filipedeschamps/tabnews.com.br
Conteúdos para quem trabalha com Programação e Tecnologia.
TabNews is a Brazilian developer community platform — think Hacker News but built entirely in Portuguese for the Brazilian tech community. It's a full-stack Next.js app with a PostgreSQL backend, covering everything from auth and content moderation to a TabCoin economy that rewards quality posts. If you want to study how a real production community site is architected in Next.js, this is one of the more honest examples available.
The database migration history is a genuine asset — 25 migrations going back to 2021, covering a real production schema evolution including a balance operations table split and a firewall system. The firewall is interesting: stored procedures in PostgreSQL handle rate-limiting and spam detection server-side, which keeps the logic close to the data. The monorepo package split (ui, forms, hooks, helpers, infra) is clean and each package has its own tests. Dev setup is genuinely simple — one `npm run dev` brings up Postgres, a mail catcher, and the Next.js server via Docker Compose.
The codebase is entirely in Portuguese, which isn't a weakness for its target audience but means international contributors or readers will hit a wall. There's no TypeScript — everything is plain JavaScript, so the models folder is a collection of loosely typed functions with no enforced contracts. The `packages/forms` package has address fields for Brazilian-specific formats (CEP, CPF) hardcoded in, making it useless outside that context. The provisioning Terraform is there but underdocumented — you can infer it targets AWS (VPC module, RDS-looking database module) but there's nothing explaining the production topology or how staging differs.