Encore eliminates the traditional separation between application code and infrastructure configuration by letting developers define cloud resources as part of their backend code. API endpoints, databases, cron jobs, pub/sub messaging, and caching layers are declared using framework-specific primitives in TypeScript or Go. Encore's compiler analyzes these declarations to understand the application architecture and automatically generates the corresponding cloud infrastructure on AWS or GCP.
The local development experience sets Encore apart from traditional backend frameworks. Running the application locally provides a service catalog showing all APIs and their dependencies, distributed tracing that visualizes request flows across services, automatically generated API documentation, and a local development dashboard. The framework handles service discovery, serialization, and inter-service communication, letting developers focus on business logic while infrastructure concerns are managed automatically.
Encore's approach targets the growing complexity of cloud-native backend development where teams spend significant time writing and maintaining Terraform, Kubernetes manifests, CI/CD pipelines, and infrastructure glue code. With over 11,000 GitHub stars, the framework provides a path from local development to production deployment that requires no separate infrastructure configuration, Docker files, or deployment scripts. The generated infrastructure follows cloud provider best practices and can be customized through escape hatches when standard patterns do not fit specific requirements.