Patterns and architecture you can see in code
GoF patterns, architecture styles and design principles – with code in C#, Java, TypeScript, Go and Python, plus talks and conversations around every topic.
Latest articles
- TypeScript for React and Node developers – from types to a type-safe API Tutorial · 26 min read
A hands-on TypeScript 7 guide built around one project – a dumpling shop's order dashboard in React plus a Node script. Types vs interfaces, discriminated unions, narrowing, generics, utility types, a strict tsconfig and validating API…
- Tailwind CSS v4 in React and Vite – tokens in @theme, variants with cva, dark mode and accessibility Tutorial · 18 min read
We set up Tailwind CSS v4 in a React + Vite app and build a small component set for a dumpling shop – design tokens in @theme, semantic tokens for dark mode, buttons with variants (cva + tailwind-merge), accessible form fields and a…
- Swagger and OpenAPI in practice – docs from code in NestJS and Express, a typed client and contract hygiene Tutorial · 21 min read
We document the pierogi shop API with OpenAPI – in NestJS with @nestjs/swagger (CLI plugin, response DTOs, an API key in Swagger UI, URI versioning, export without a database), in Express from Zod schemas with zod-to-openapi and…
- Login and registration in React – forms, tokens, protected routes and session refresh Tutorial · 31 min read
A complete authentication frontend in React 19 – login and registration forms with validation, an access token in memory and a refresh token in an httpOnly cookie, session restore, protected routes, retrying requests after a 401, password…
- Modern React 19 in practice – hooks, TanStack Query, forms and routing Tutorial · 25 min read
We build a complete ordering app for a dumpling shop in React 19 – components, hooks (state, effects, memo, ref, context), data fetching with TanStack Query, a form with react-hook-form and Zod, routing with React Router 8, project…
- NestJS 11 in practice – modules, DI, validation, Mongoose, queues and hexagonal architecture Tutorial · 24 min read
We move the pierogi shop's order API to NestJS 11 – modules and dependency injection, controllers and DTOs with class-validator, pipes, guards, interceptors and exception filters, Zod-validated configuration, Mongoose 9, ports and…
- MUI 7 in practice – theming, dark mode, custom components and DataGrid without the "default Material" look Tutorial · 23 min read
We build a dumpling shop's kitchen dashboard in Material UI 7 – design tokens and a CSS-variables theme, flicker-free dark mode, custom components and variants, client- and server-side DataGrid, and a form with react-hook-form and Zod.…
- Pins on Google Maps – markers, clusters and info windows Tutorial · 22 min read
A practical guide to pins in Google Maps and React – Pin variants per status, custom HTML markers, info windows, custom-styled clusters, levels of detail, syncing a list with the map viewport and performance with 1,500 points.
- Google Maps in React – API key, Map ID, geolocation, place search, pins and cost control Tutorial · 27 min read
A complete Google Maps integration for a React app with the official @vis.gl/react-google-maps library – from a restricted API key and a Map ID, through geolocation, address autocomplete (Places API New) and geocoding, to AdvancedMarker…
- REST API with Express 5 and TypeScript – from an empty folder to production Tutorial · 23 min read
We build the order API of a pierogi shop with Express 5 and TypeScript – Zod-validated configuration, routing, request validation, centralized error handling, async handlers, pino logs, CORS, Helmet, rate limiting, tests with supertest…
- Amazon SQS in practice – standard and FIFO queues, long polling, DLQ, idempotency, SNS fan-out and Lambda (Node.js, C#, Python) Tutorial · 26 min read
We move the pierogi shop's order handling to an Amazon SQS queue – a producer and consumer with AWS SDK v3, long polling, visibility timeout and heartbeats, a dead-letter queue (DLQ), idempotent processing with DynamoDB, batch sends, SNS…
- Amazon SES in practice – domain verification (DKIM, SPF, DMARC), leaving the sandbox, sending via API and SMTP, templates, bounces and deliverability (Node.js, C#, Python) Tutorial · 25 min read
We send the pierogi shop's e-mails with Amazon SES – a domain identity with Easy DKIM, a custom MAIL FROM domain for SPF, rolling out DMARC, leaving the sandbox, sending via the v2 API with AWS SDK v3 (text, templates, attachments) and…
Learning paths
Catalog
Creational patterns
Structural patterns
Behavioral patterns
Architecture
Principles
- SOLID
- DRY (coming soon)
- KISS (coming soon)
- YAGNI (coming soon)
- Law of Demeter (coming soon)
AI & LLM
Frontend
Backend & API
Cloud (AWS)
Algorithms & data structures
- Algorithms (coming soon)
- Data structures (coming soon)
- Complexity (coming soon)