icon of Encore

Encore

Encore is an open source backend development framework for TypeScript and Go that generates infrastructure from code and provides built-in CI/CD, observability, and local development tools. MPL-2.0 licensed.

11.8K stars569 forksGoMPL-2.0Active this week
Alternative toFirebaseAWS Amplify

What is Encore?

Encore is an open source backend framework that lets TypeScript and Go developers define infrastructure as type-safe code and get distributed tracing, local development environments, and cloud deployment automation without manual configuration.

The Problem

Backend teams using Firebase or manually configured AWS spend significant time writing infrastructure configuration that duplicates what the code already declares. Managing service discovery, environment variables, secret rotation, database provisioning, and observability setup separately from application code creates drift, slows onboarding, and makes deployments error-prone.

How Encore Solves It

Encore uses type-safe API and infrastructure primitives in your TypeScript or Go code to generate the actual infrastructure on deployment. Define a database, pub/sub topic, or API endpoint in code, and Encore provisions it correctly in local development and in your cloud account. The framework includes a built-in dev dashboard with distributed tracing and a local environment that mirrors production. MPL-2.0 licensed.

Key Features
  • Type-safe API definitions that generate OpenAPI specs, request validation, and client SDKs automatically
  • Infrastructure-from-code: databases, pub/sub, cron jobs, and secrets declared in application code rather than YAML
  • Built-in distributed tracing and request inspection in the local dev dashboard
  • Encore Cloud for automated deployments to AWS and GCP; export to Terraform for self-managed infrastructure
  • End-to-end testing utilities with automatic test environment provisioning
  • MPL-2.0 licensed; self-host the framework or use Encore Cloud for deployment automation
Who It's For

Encore is best for small engineering teams building TypeScript or Go backends who want to move faster without a dedicated DevOps function. It suits teams that find Firebase too limiting for complex business logic but want similar low-overhead infrastructure management.

Compared to Firebase

Unlike Firebase, Encore runs on any cloud and is not tied to Google's infrastructure. Firebase provides a fully managed service with real-time sync and mobile SDKs that Encore does not replicate, but Encore gives TypeScript and Go teams a production-grade backend with type-safe APIs and proper observability that Firebase's serverless model does not support well.

GitHub Activity

11.8KStars
569Forks
103Open Issues
MPL-2.0License

Tech Stack

language Go

Details

Frequently Asked Questions

Related Alternatives

Stay Updated

Subscribe to our newsletter for the latest news and updates about Alternatives