Build a NestJS Blog

Build Circuit Daily with NestJS, Handlebars, Bootstrap, Passport local, express-session, TypeORM, PostgreSQL, owned post CRUD, search, password recovery, and a Railway deployment.

  • Difficulty Intermediate
  • Parts 12
  • Stack TypeScript, NestJS, Handlebars, Bootstrap 5, Passport local, express-session, TypeORM, PostgreSQL

How this project works

Circuit Daily is an original teaching blog in twelve complete snapshots. Clone once and run any numbered folder without rebuilding earlier stages.

The path starts with NestJS and routing, adds Handlebars and Bootstrap, then introduces isolated Postgres databases. Later parts add sessions, media, ownership, pagination, search, reset tokens, and Railway deploy notes.

Snapshots 4–12 seed ada@example.com and grace@example.com with password123.

Local Postgres runs through Docker Compose on host port 5437 with databases circuit_01circuit_12.

Open GitHub repo →

Parts in order

Work through the parts in sequence. Each lesson explains the ideas, then points you to a runnable GitHub snapshot.