
Building a Type-Safe API Client Generator from OpenAPI Specs
Build a code generator that reads OpenAPI specs and emits fully typed TypeScript API clients with request validation, error handling and type inference.
Categories
Step-by-step guides · 28 articles · Page 2 of 3

Build a code generator that reads OpenAPI specs and emits fully typed TypeScript API clients with request validation, error handling and type inference.

Build a Markdown parser step by step — lexical analysis, AST construction and HTML rendering — to understand how text processing engines work inside.

Build a production-ready task queue step by step using Node.js and Redis, covering reliable delivery, retries, dead letter queues, and concurrency control.

A step-by-step tutorial for a GraphQL server in TypeScript: schema design, resolvers, dataloaders against N+1, authentication, errors and deployment.

A step-by-step tutorial for rate limiters using token bucket, sliding window and fixed window — with TypeScript, Redis integration and production patterns.

A step-by-step tutorial for an event-driven microservice with Node.js, RabbitMQ and TypeScript: publishing, consumption, DLQs and idempotent processing.

A step-by-step tutorial for a URL shortener with short code generation, redirect handling, click analytics and rate limiting — schema through API.

A step-by-step tutorial for a Chrome/Firefox extension in TypeScript: the manifest, content scripts, background service workers, popup UI and messaging.

A step-by-step tutorial for a live-updating dashboard with WebSockets: server setup, connection management, data streaming, reconnection and scaling.

How full-text search engines work inside: tokenization, inverted indexes, TF-IDF scoring, and building a working search engine in TypeScript step by step.

A step-by-step guide to migrating JavaScript projects to TypeScript without pausing feature work: configuration, strict mode adoption and team workflows.

A hands-on tutorial for a production-ready REST API with Go and Chi: routing, middleware, JSON handling, error responses and graceful shutdown.