iwantcoding.com
🔥 Daily 👥 Rooms 🏆 Top Log in Sign up

Node Certificate

Earn the Node certificate by passing the exam and shipping a production-style API.

Certificate outline

EXAMPLE
# Node certificate - outline

## Part 1 - exam (60 min)

Topics:
- Event loop + microtasks vs macrotasks
- Streams + pipeline + backpressure
- ESM + CommonJS interop
- Error handling + AbortController
- Workers vs child processes
- Logging + tracing fundamentals

Passing mark: 70 percent.

## Part 2 - capstone (take-home, ~10 hours)

Ship a small REST API:

- TypeScript strict
- Hono or Fastify
- Zod for env + body validation
- Postgres via Drizzle, Prisma, or Kysely
- 5 endpoints minimum (auth, CRUD)
- Graceful shutdown on SIGTERM
- pino structured logs
- OpenTelemetry traces (Jaeger or Honeycomb)
- Vitest tests + 1 integration test with testcontainers
- Dockerfile (multi-stage, non-root, distroless or scratch)
- GitHub Actions CI: lint + test + image build with OIDC to a registry

Submit a Git repo + container image + a /healthz endpoint that runs in CI.

## Grading

- Correctness (35 percent)
- Production-readiness (25 percent): graceful shutdown, logs, health
- Tests + CI (20 percent)
- Observability (10 percent)
- Code quality (10 percent)

## Tips

- Treat the capstone like a real service
- Logging + tracing are non-negotiable for production
- Test the shutdown path explicitly

Why it matters

A Node certificate that does not include logging, tracing, and graceful shutdown is a 2018 certificate. Treat the capstone as the service you would run on call - that is what hiring managers will look at.

Tip: Tweak the snippet with Try it Yourself », then sit the quiz at the bottom of the page.

Example

Example
console.log('/certificate/nodejs to claim yours.');
Try it Yourself »

Discussion

Loading…