// Articles

Guides and deep dives

Guides, tutorials, and comparisons to help you build better backend applications.

Filter by category: All (696)
How to Add Pub/Sub to a Go API

Publishing and consuming events from a Go backend with Encore, Watermill, NATS or SNS and SQS, including typed messages, retries, the outbox pattern, tests and production.

6 Min Read
How to Add File Uploads and Object Storage to a TypeScript API

Storing uploaded files from a Node.js and TypeScript backend in S3 or Google Cloud Storage with Encore, the AWS SDK or Multer, including presigned URLs, local buckets, tests and production.

5 Min Read
How to Add Pub/Sub to a TypeScript API

Publishing and consuming events in a Node.js and TypeScript backend with Encore, SNS and SQS, BullMQ or NATS, including typed messages, retries, local brokers, tests and production.

6 Min Read
How to Add S3 Object Storage to an Axum API

Storing files from a Rust Axum service in S3 or Google Cloud Storage with Encore, the AWS SDK for Rust or the object_store crate, including presigned URLs, local buckets, tests and production.

5 Min Read
How to Add Cron Jobs to an Axum App

Scheduling recurring work for a Rust Axum service with Encore, tokio-cron-scheduler, a Tokio interval loop or a cloud scheduler, and keeping jobs from running once per replica.

6 Min Read
How to Add Cron Jobs to a FastAPI App

Running scheduled tasks for a FastAPI service with Encore, APScheduler, Celery beat or a scheduler that calls an endpoint, and what changes once the app runs on more than one instance.

6 Min Read
How to Add File Uploads and S3 Storage to FastAPI

Storing uploaded files from a FastAPI app in S3 or Google Cloud Storage with Encore, boto3 or aioboto3, including presigned URLs, local storage, tests and production buckets.

5 Min Read
How to Add Postgres to a Django App

Moving a Django project from SQLite to PostgreSQL with Encore, dj-database-url or plain settings, plus psycopg, connection pooling, local databases, tests and production.

7 Min Read
How to Add Postgres to a FastAPI App

Connecting a FastAPI service to PostgreSQL with Encore, SQLAlchemy, SQLModel or asyncpg, plus migrations, connection pools, local databases and production.

7 Min Read
TypeScript Request Validation for AI Coding Agents

How Express, Fastify, NestJS, Hono and Encore turn a request type into a runtime check, and which setup gives a coding agent one place to change when an API changes.

10 Min Read
Type-Safe APIs for AI Coding Agents

Why end-to-end types help coding agents, where TypeScript and Go types stop at the network boundary, and how schemas derived from code, generated clients and compile errors close the gap.

9 Min Read
Testing Backends Written by AI Coding Agents

How to test TypeScript and Go backends that a coding agent wrote, with integration tests against real Postgres and Pub/Sub instead of mocks, and a test command the agent can run on its own.

9 Min Read