// Articles
Guides, tutorials, and comparisons to help you build better backend applications.
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.
How to use Neon's serverless PostgreSQL with modern TypeScript backends
Schemas, resolvers, code-first vs schema-first, and what actually ships
ECS, EKS, and Lambda compared, plus the networking, discovery, and CI/CD work that trips teams up
Redis-backed caching with automatic provisioning and type safety
Tool-calling endpoints, conversation storage, and async processing
Embed documents, store vectors in pgvector, search by meaning, and generate answers with an LLM