Integrating OpenAI into a NestJS API — The Right Way
Rate limiting, cost tracking, streaming responses and graceful degradation for AI-powered features.

Writing
Thoughts on software, engineering, and building things.
18 posts
Search, series, and taxonomy stay available without turning the page into a dashboard.
All groups
0
A quieter filter rail keeps discovery useful without pushing the page into admin-like complexity.
18 articles found.
Showing 1-9 of 18
Rate limiting, cost tracking, streaming responses and graceful degradation for AI-powered features.

Cut your image size by 80%, cache layers intelligently and ship your API in a lean production container.
Branded types, template literals, discriminated unions and module augmentation — beyond the basics.
Indexes, explain analyze, connection pooling and query optimization patterns from real production workloads.
Context + Zustand + React Query — a pragmatic stack that scales without the boilerplate hell.
Data fetching, streaming, partial pre-rendering and the mental model shift you need to make it click.
Core Web Vitals, image optimization, bundle size, edge caching and font loading done right.
Lint, test, build and deploy automatically on every push — no third-party CI service needed.
ROW_NUMBER, RANK, LAG/LEAD, PARTITION BY — understand window functions with real examples.
Writing
Thoughts on software, engineering, and building things.
18 posts
Search, series, and taxonomy stay available without turning the page into a dashboard.
All groups
0
A quieter filter rail keeps discovery useful without pushing the page into admin-like complexity.
18 articles found.
Showing 1-9 of 18
Rate limiting, cost tracking, streaming responses and graceful degradation for AI-powered features.

Cut your image size by 80%, cache layers intelligently and ship your API in a lean production container.
Branded types, template literals, discriminated unions and module augmentation — beyond the basics.
Indexes, explain analyze, connection pooling and query optimization patterns from real production workloads.
Context + Zustand + React Query — a pragmatic stack that scales without the boilerplate hell.
Data fetching, streaming, partial pre-rendering and the mental model shift you need to make it click.
Core Web Vitals, image optimization, bundle size, edge caching and font loading done right.
Lint, test, build and deploy automatically on every push — no third-party CI service needed.
ROW_NUMBER, RANK, LAG/LEAD, PARTITION BY — understand window functions with real examples.