Level up from developer to JavaScript architect for the AI era.

The React and Node.js architecture playbooks, free by email. Then new deep dives as I publish them.

Free PDFs. Confirm your email and they arrive in minutes. Unsubscribe in one click.

30K+ engineers read The T-Shaped Dev

4.9/5 from readers of The Conscious React

The Conscious React book cover
2nd Edition

The Conscious React

The React architecture book for the AI era — timeless principles for scalable, testable React, rebuilt for React 19, Server Components, and the Compiler.

100+ Production Tips

Updated for React 19, Server Components and the Compiler. Each tip with context, Avoid and Prefer.

4 Companion Repos

Runnable examples, deep-dive case studies, and production-ready Vite & Next.js starters.

See what's inside — from $29
The Conscious Node book cover
⚡ New Release

The Conscious Node

A practical guide to Node.js architecture, design, and clean code. The gap between a Node developer and a Node architect — production patterns drawn from years of Fortune 500 cloud, finance, and travel systems.

157 Production Tips

Across 10 chapters — architecture, APIs, data, errors, security, testing, performance, and tooling. Each tip with context, Avoid and Prefer.

The 10 Rules of Senior Node

Heuristics that survive any framework cycle — module boundaries, repositories, the transactional outbox, structured logs, OpenTelemetry.

See what's inside — from $29

Get both books — and everything around them

The JavaScript Architect Bundle is both Complete Packages: The Conscious React and The Conscious Node, all 7 companion repos and the AI rules files, in one purchase.

Get the Architect Bundle

Latest Insights

Deep dives into the craft of engineering.

// AI EngineeringYour AI Agent Has No Stack Trace. Here's How to Debug It Anyway.petarivanov.tech
AI Engineering8 min read

Your AI Agent Has No Stack Trace. Here's How to Debug It Anyway.

The 4 observability decisions to make before launch: trace every step, one ID end to end, five numbers on a dashboard, and logs that link to the trace.

Read Article
// Architecture · Node.jsSaved the Order, Lost the Event: Why You Need the Outbox Patternpetarivanov.tech
Architecture9 min read

Saved the Order, Lost the Event: Why You Need the Outbox Pattern

Save-then-publish drops messages without a single error in your logs. Here's the outbox + inbox pair that stops it, in plain Postgres and Node.js.

Read Article
// AI Engineering6 MCP Servers That Make My Coding Agent Actually Useful in 2026petarivanov.tech
AI Engineering6 min read

6 MCP Servers That Make My Coding Agent Actually Useful in 2026

The MCP servers I actually reach for when building features and shipping production apps.

Read Article
Petar Ivanov

Petar Ivanov

Software engineer, author, and speaker. 8+ years building production systems at Fortune 500s in cloud, finance, and travel. Ex-CEO/CTO of startups. I help JavaScript developers grow from Mid → Senior → Architect.

That now includes the field's hardest new question: how do you architect software around LLMs — RAG, agents, evals, cost, latency — so AI features survive real users? I build these systems in Python and JavaScript and teach the judgment behind them.

In the AI era, the question isn't whether you can code. It's whether you can think like an architect — and that's the gap I help you close.