Tech Lead Basics on Node
8 examples for technical leadership on Node.js backends - 6 basic and 2 intermediate. Centers on the framework / ORM / queue triangle every API tech lead owns.
Prerequisites
- Staff or senior engineer stepping into tech lead for a squad
- Service with HTTP API plus at least one async path (queue, cron, webhook)
- Basic familiarity with DORA and SLO concepts
Basic Examples
1. The Framework / ORM / Queue Triangle
Framework (Express 5 / Fastify 5 / NestJS 11)
/\
/ \
/ \
ORM / DB Queue (BullMQ / SQS)| Vertex | Tech lead owns | Decisions |
|---|---|---|
| Framework | HTTP layer, middleware, perf | ADR when switching |
| ORM | Schema, migrations, pools | Prisma vs Drizzle vs pg |
| Queue | Job shape, idempotency, DLQ | BullMQ vs SQS |
- Changing one vertex ripples to the others - never swap framework in isolation without pool review
- Document the triangle in squad README
Related: ADR: Framework Selection - scored template
2. Tech Lead Responsibilities
Technical direction - ADRs, standards, stack alignment
Delivery unblocking - reviews, spikes, dependency escalations
Operational health - SLOs, on-call feedback, incident follow-up
People - mentoring, pairing, interview loops
Product partnership - feasibility, estimates, trade-off communication- Tech lead is not the only coder - delegates implementation
- "No time for tech debt" is a prioritization failure, not a law
3. Sprint Capacity Split
| Bucket | Target % | Examples |
|---|---|---|
| Features | 60-70% | User stories |
| Reliability | 15-20% | Pool tuning, alerts, runbooks |
| Platform | 10-15% | Node upgrade, dependency refresh |
| Interrupt | Buffer | Incidents, urgent bugs |
- Protect reliability bucket in sprint planning - Technical Leadership Best Practices
- Node upgrades and OpenSSL shifts land here
4. When to Write an ADR
[ ] New framework or major version (Express 4 → 5)
[ ] ORM switch or multi-DB strategy
[ ] Queue technology change
[ ] Monolith vs service split
[ ] Auth model change (session → JWT)
[ ] Anything you'd argue about in 6 months- ADRs are cheap insurance - 90 minutes now vs weeks of re-debate
- Store in
docs/adr/; link from PRs
5. Code Review as Leadership Lever
Tech lead sets standards, seniors enforce, everyone learns.
Must-check on every Node PR:
- async/await error paths (no floating promises)
- SQL injection / parameterized queries
- PII in logs
- pool/client lifecycle (connect/disconnect)
- migration backward compatibility- See Code Review Standards for checklist
- Review load balanced: TL does architecture, seniors do depth
6. Operational Feedback Loop
Weekly (15 min):
- SLO dashboard glance
- open incident action items
- deploy CFR trend
Monthly:
- on-call retrospective
- dependency CVE count
- pool and memory trends- Pull one improvement task from each retro into next sprint
- Link DORA Metrics
Intermediate Examples
7. Escalation Paths
Squad issue → Tech lead → Engineering manager
Cross-squad → Staff/platform architect
Production SEV1 → IC model (TL advises, IC decides)
Vendor outage → Comms lead + status page- Tech lead brings options and trade-offs, not just problems
- "We need 2 sprints for Node 24" needs business framing for PM
8. Hiring and Skills Matrix
| Skill | Junior | Mid | Senior | Tech lead |
|---|---|---|---|---|
| Debug async | With help | Solo | Teaches | Sets patterns |
| Read pool metrics | - | Basic | Tunes | Alerts |
| Write ADR | - | Contributes | Authors | Approves |
| Incident IC | - | Scribe | TL | Coaches |
- Use Skills Matrix for gaps
- Mentoring plan per junior - Mentoring Junior Node Devs
FAQs
Tech lead vs staff engineer?
Tech lead often owns one squad's delivery and people. Staff engineer spans squads on architecture. Many people do both hats.
Must tech lead be the best coder?
No. Best debugger and system thinker matters more. Delegation is required.
How much coding should a tech lead do?
30-50% in healthy teams. Drops during hire bursts or major migrations - communicate to EM.
Related
- ADR: Framework Selection - framework ADR
- Code Review Standards - review checklist
- Mentoring Junior Node Devs - people growth
- Handling Technical Disagreements - facilitation
- Technical Leadership Best Practices - condensed list
Stack versions: This page was written for Node.js 24.18.0 (Active LTS), npm 10+, TypeScript 5.6+, Express 5, Fastify 5, and NestJS 11.