Bricks

Build the real thing — yourself

Build a real production pattern step by step — and walk away knowing how it actually works, with runnable code you can reuse.

Free in the browser — read the why, watch each change land, then mirror it to a local folder and run it.

Node / TS · Advanced · ~25 min

API Security Hardening: JWT, Rate Limits, Tenant Isolation

Harden a Node API the defensive way: validate JWTs properly, fail safely, rate-limit abuse, and enforce tenant isolation so one customer can never read another's data.

Open set →
Docker · Intermediate · ~25 min

Docker Compose Production-like Stack

Assemble a realistic local environment — Postgres, Redis, RabbitMQ and an app — with health checks, dependency ordering and env config, one service at a time.

Open set →
Kubernetes · Advanced · ~20 min

Kubernetes Deployment with Probes & Limits

Take a container to a production-minimum Kubernetes deployment: a Deployment and Service, config and secrets, readiness and liveness probes, resource limits and autoscaling.

Open set →
Docker · Intermediate · ~40 min

Grafana + Loki + Prometheus Local Stack

Stand up a real local observability stack — metrics in Prometheus, logs in Loki, dashboards in Grafana — one small compose change at a time.

Open set →
Go · Advanced · ~40 min

PostgreSQL Production API

Build a Go HTTP service over Postgres the way it is actually operated: a real pool, timeouts, migrations and indexes — one small change at a time.

Open set →
Go · Advanced · ~25 min

RabbitMQ Retry + Dead Letter Queue

Build a safe async pipeline in Go: a retry queue that delays redelivery, a cap on attempts, and a dead-letter queue so one poison message can't block the rest.

Open set →
Node / TS · Intermediate · ~30 min

Redis Cache Layer with TTL & Eviction Awareness

Add a cache-aside layer in front of a slow data source — with TTL, a key convention, and a fallback so a cache outage never becomes a service outage.

Open set →
Go · Advanced · ~30 min

Timeouts, Retries, Backoff & Circuit Breakers

Build a Go HTTP client that calls a flaky upstream without amplifying failure — timeout, bounded retries, exponential backoff with jitter, and a circuit breaker.

Open set →
SQL · Advanced · ~25 min

SQL Investigation & Performance

Build a billing dataset with realistic anomalies, then write the queries to find duplicate charges and stuck orders — and make a slow report fast with an index.

Open set →
Node / TS · Intermediate · ~30 min

Production-grade Structured Logging

Turn plain console.log into JSON logs you can actually investigate — levels, request_id, trace_id and one error format — one tiny delta at a time.

Open set →