// Articles

Guides and deep dives

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

Filter by category: All (696)
Best Database Migration Tools in 2026: Flyway, Liquibase, Atlas, golang-migrate and More

A neutral comparison of schema migration tools for Postgres and other SQL databases, covering versioned vs declarative migrations, rollbacks, licensing and ORM-coupled tools like Prisma Migrate and Drizzle Kit.

7 Min Read
Authentication vs Authorization: What Is the Difference

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.

6 Min Read
Appwrite vs Supabase in 2026: Open Source Backends Compared

Both are open source backend platforms with auth, a database, storage and functions, available as a managed cloud or self-hosted. They differ most in the database model and how much SQL you write.

5 Min Read
API Rate Limiting: Algorithms, Headers and a Working Implementation

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.

6 Min Read
How to Write Go Integration Tests Against PostgreSQL

Testing Go database code against a real Postgres instead of mocks: Testcontainers, template databases with pgtestdb, a shared Compose database, and encore test with a fully migrated database per test.

6 Min Read
How to Run PostgreSQL Locally for Development

Four ways to get a local Postgres for your app: started automatically by Encore, Docker Compose, Homebrew or Postgres.app, and Testcontainers, with the PostgreSQL 18 Docker volume change that loses data if you miss it.

6 Min Read
How to Handle GitHub Webhooks in a TypeScript API

Verifying X-Hub-Signature-256 over the raw body, answering within GitHub's 10-second limit, deduplicating redeliveries by X-GitHub-Delivery and doing the work from a queue, with tested code that deploys to your own AWS or GCP account.

6 Min Read
How to Handle Stripe Webhooks in a Go API

Verifying the Stripe-Signature header with stripe-go, avoiding the API version mismatch error, acknowledging fast and deduplicating retries, with tested code that deploys to your own AWS or GCP account.

6 Min Read
Google Cloud Functions Alternatives in 2026

Options for teams whose Cloud Run functions have grown into a backend, compared on time limits, local development, databases and queues, and where the code runs.

6 Min Read
PocketBase Alternatives in 2026: When a Single Binary Is Not Enough

Backends for teams that started on PocketBase, compared on database, scaling, extensibility in Go and TypeScript, and where the backend runs.

6 Min Read
BullMQ Alternatives in 2026: Background Jobs Without Running Redis

Job queues and workflow tools for Node.js and TypeScript teams, compared on what they run on, how retries and scheduling work, and what you operate in production.

6 Min Read
CDKTF Alternatives in 2026: Where to Go After CDK for Terraform

HashiCorp deprecated CDK for Terraform in December 2025. These are the options for teams that still want infrastructure in a programming language, compared on migration effort, scope and day-to-day workflow.

6 Min Read