finds.dev

filipedeschamps/clone-tabnews

Implementação do https://www.tabnews.com.br para o https://curso.dev

View on GitHubHomepage ↗

★ 501JavaScriptMITupdated Mar 2026

// the take

A step-by-step clone of tabnews.com.br built as the running example for Filipe Deschamps' curso.dev programming course. It is a teaching artifact, not a reusable library or starter kit — the value is in watching it grow commit-by-commit alongside the lessons, not in cloning it and running it yourself.

Integration tests mirror the API route tree exactly (tests/integration/api/v1/sessions/post.test.js matches pages/api/v1/sessions/index.js), which models a discipline worth copying. Timestamped migration files with a migrator model keep schema history explicit and reproducible. commitlint plus Husky enforce conventional commits at the hook level, not just by convention. CI splits linting and tests into separate workflows, so a lint failure doesn't eat a Postgres test run.

The README is two hyperlinks — if you don't already know the course context you have no idea what to run or why. Committing .env.development is fine for a course repo but anyone who forks it and doesn't notice will leak defaults into their own history. Four months of active development has produced four migrations and six API routes; the frontend is essentially one status page, so this is nowhere near a functional social platform yet. No TypeScript — the models/ layer does meaningful validation logic and you are reading raw JS objects with no type safety.

We read the README, the directory tree and a key source file in June 2026. Nobody pays to be listed. How we judge →

// at a glance

Stars
501
Forks
35
Language
JavaScript
License
MIT
Last commit
20 Mar 2026

// nearby

If clone-tabnews isn't quite it.

All repos →