// Articles
Guides, tutorials, and comparisons to help you build better backend applications.
Cloud Run runs containers on Google Cloud without a cluster to manage. How services, jobs, concurrency and scaling to zero work, where it gets harder, and how to deploy a backend to it.
What a production Node.js backend is made of, from the HTTP layer and the database to background jobs, auth and deploys, with TypeScript code for each piece and the choices that matter at each step.
A working Express 5 and TypeScript setup: tsconfig, typed request handlers, runtime validation, error handling and a production build, plus where typed Express stops at compile time.
Authentication checks who is calling, authorization decides what they may do. How the two fit together in a backend API, the common models for each, and TypeScript code for both.
How fixed window, sliding window, token bucket and leaky bucket limiters work, what to return when a client is over the limit, and how to enforce one limit across every instance of a TypeScript API.
Run an OpenAI Agents SDK agent in a TypeScript service, back its sessions with Postgres, and deploy it to your own cloud with Encore.
Build a tool-calling agent with the AI SDK in a TypeScript service, keep its message history in Postgres, and deploy it to your own cloud with Encore.
Run Claude Agent SDK sessions inside a TypeScript service, mirror their transcripts to Postgres, and deploy it to your own cloud with Encore.
Run the Cursor agent loop inside a TypeScript service, keep threads and agent state in Postgres, and deploy it to your own cloud with Encore.
Build a small JSON API with the chi router: routes, URL parameters, middleware, sub-routers and handlers you can test with curl.
Run a NestJS API with Postgres on AWS, from ECS Fargate, Lambda and Elastic Beanstalk by hand to provisioning the infrastructure from your TypeScript code.
Run a FastAPI app with a Postgres database on AWS, from the manual ECS Fargate route to provisioning the infrastructure from your Python code.