// Articles

Guides and deep dives

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

Filter by category: All (674)
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
Why Terraform Is Hard for AI Coding Agents, and What to Use Instead

State files, plan and apply loops, IAM and drift all assume a person with cloud credentials reviewing every change. What that means for Claude Code, Cursor and Codex, and how Encore replaces Terraform for application infrastructure.

7 Min Read
Microservices vs Monolith for AI Coding Agents

How context limits, service boundaries and the ability to run the whole system locally change the choice when a coding agent writes much of the code.

9 Min Read
How to Deploy a Node.js or TypeScript Backend to AWS with an AI Coding Agent

What a coding agent has to write to get a TypeScript API and a Postgres database onto AWS with AWS CDK, Terraform, SST or Encore, and how each one lets it check the work before anything is deployed.

9 Min Read