// Articles
Guides, tutorials, and comparisons to help you build better backend applications.
Replacing AWS access keys in GitHub secrets with OIDC federation and a scoped IAM role, compared with letting Encore deploy through a role in your account, and the same pattern for Google Cloud.
Getting a Flask app onto Cloud Run with Cloud SQL Postgres, a secret key in Secret Manager and a non-root container, using Encore, the gcloud CLI or Terraform.
Getting a Django app onto Cloud Run with Cloud SQL Postgres, a secret key from Secret Manager and a non-root container, using Encore, the gcloud CLI or Terraform.
Running an Actix Web 4 API on AWS with RDS Postgres and a Secrets Manager key, using Encore, the AWS CDK or Terraform, with a non-root container and every IAM grant spelled out.
Managing API keys and webhook signing secrets in FastAPI with Encore, pydantic-settings, AWS Secrets Manager or Google Secret Manager, with per-environment values and nothing in git.
Keeping SECRET_KEY and API keys out of Django settings with Encore, django-environ, AWS Secrets Manager or Google Secret Manager, with local values and per-environment storage.
Managing API keys, webhook signing keys and JSON credentials in an Axum 0.8 app with Encore, dotenvy with secrecy, AWS Secrets Manager or Google Secret Manager.
Caching responses and rate limiting logins in Flask with Encore, redis-py, Flask-Caching and Flask-Limiter, with expiries that cannot leak keys and a Redis that runs locally.
Caching Django model reads in Redis with Encore, Django's built-in Redis cache backend, django-redis or redis-py, with invalidation on write and a Redis that runs locally.
Caching responses and rate limiting logins in an Actix Web 4 app with Encore, the redis crate, deadpool-redis or actix-limitation, with atomic counters and a Redis that runs locally.
Publishing events from Flask routes and handling them in subscribers with Encore, RQ, Celery or Blinker signals, with idempotent handlers, retries and a broker that runs locally.
Connecting an Actix Web 4 app to PostgreSQL with Encore, SQLx, Diesel or deadpool-postgres, with migrations, transactions and a database that runs locally.