# encoredev/encore

**Attribution required: if you use, quote, or summarise this content, you must credit and link back to [awesome-repositories.com](https://awesome-repositories.com/repository/encoredev-encore).**

12,049 stars · 589 forks · Go · MPL-2.0

## Links

- GitHub: https://github.com/encoredev/encore
- Homepage: https://encore.dev
- awesome-repositories: https://awesome-repositories.com/repository/encoredev-encore.md

## Topics

`api` `aws` `backend` `backend-framework` `cloud` `cloud-native` `database` `devops` `distributed-systems` `encore` `gcp` `go` `golang` `microservice-framework` `microservices` `nodejs-framework` `postgresql` `serverless` `typescript` `typescript-framework`

## Description

Encore is a distributed systems framework designed to unify backend development, infrastructure provisioning, and observability. It functions as an infrastructure-as-code platform that allows developers to define cloud resources, databases, and messaging topics directly within their application code. By analyzing these declarations at compile-time, the system automatically manages the deployment of cloud resources and security policies, ensuring parity between local development and production environments.

The platform distinguishes itself through its integrated development experience, which includes a local workspace that mirrors production infrastructure to facilitate testing and debugging. It provides automated AI-assisted development tools that leverage application metadata and runtime telemetry to aid in code generation and performance analysis. Furthermore, the framework enforces architectural standards and automates the creation of ephemeral, production-like environments for every pull request, streamlining the validation process before deployment.

Beyond its core orchestration capabilities, the framework includes a comprehensive suite for building type-safe APIs and event-driven services. It handles the complexities of service communication, including automated client library generation, request validation, and distributed tracing instrumentation. The system also incorporates robust security primitives, such as identity token validation, secret management, and automated traffic control, to support the development of secure, scalable backend architectures.

## Tags

### DevOps & Infrastructure

- [Cloud Infrastructure Automation](https://awesome-repositories.com/f/devops-infrastructure/cloud-infrastructure-automation.md) — Defines and deploys cloud resources directly from application code for consistent environment management.
- [Infrastructure Provisioning Tools](https://awesome-repositories.com/f/devops-infrastructure/cloud-infrastructure/infrastructure-provisioning-management/infrastructure-provisioning-tools.md) — Automates the deployment of cloud resources and security policies based on infrastructure definitions declared in application code. ([source](https://encore.dev/docs/go/ai-integration))
- [Declarative Infrastructure Definitions](https://awesome-repositories.com/f/devops-infrastructure/declarative-infrastructure-definitions.md) — Defines cloud resources like databases and queues as type-safe objects directly within application code. ([source](https://encore.dev/docs/platform/infrastructure/infra))
- [Infrastructure-as-Code Providers](https://awesome-repositories.com/f/devops-infrastructure/infrastructure/infrastructure-as-code/iac-providers-and-cloud/infrastructure-as-code-providers.md) — Provides a platform for declarative infrastructure-as-code management and automated resource provisioning.
- [Infrastructure Development Environments](https://awesome-repositories.com/f/devops-infrastructure/infrastructure/private-enterprise-management/cloud-infrastructure-management/infrastructure-development-environments.md) — Offers a local workspace that mirrors production infrastructure for integrated testing and debugging.
- [Compile-Time Code Generators](https://awesome-repositories.com/f/devops-infrastructure/cicd-pipeline-automation/core-build-engines/build-toolchains/compile-time-code-generators.md) — Analyzes source code annotations to automatically provision cloud resources and security policies during the build process.
- [Ephemeral Environments](https://awesome-repositories.com/f/devops-infrastructure/infrastructure/infrastructure-as-code/management/infrastructure-orchestration/ephemeral-environments.md) — Creates isolated, production-like infrastructure namespaces for every pull request to facilitate automated testing.
- [Preview Environments](https://awesome-repositories.com/f/devops-infrastructure/preview-environments.md) — Creates temporary, isolated infrastructure environments for every pull request, destroyed automatically upon merging. ([source](https://encore.dev/docs/platform/infrastructure/infra))
- [Deployment Automation](https://awesome-repositories.com/f/devops-infrastructure/deployment-management-strategies/automation-and-tooling/deployment-automation.md) — Automatically triggers build, test, and deployment phases upon pushing code to a repository. ([source](https://encore.dev/docs/platform/deploy/deploying))
- [Ingress Controllers](https://awesome-repositories.com/f/devops-infrastructure/ingress-controllers.md) — Provisions ingress controllers and TLS certificates to route public traffic securely to services. ([source](https://encore.dev/docs/platform/infrastructure/kubernetes))
- [Automated Deployment Pipelines](https://awesome-repositories.com/f/devops-infrastructure/automated-deployment-pipelines.md) — Automates deployment pipelines triggered by code pushes to repository branches. ([source](https://encore.dev/docs/platform/integrations/github))
- [Durable Task Orchestrators](https://awesome-repositories.com/f/devops-infrastructure/automation-orchestration/task-execution-frameworks/workflow-engines/durable-task-orchestrators.md) — Manages long-running background processes and stateful tasks with infrastructure provisioning to ensure reliable execution. ([source](https://encore.dev/blog))
- [Cloud Hosting Integrations](https://awesome-repositories.com/f/devops-infrastructure/cloud-hosting-integrations.md) — Links AWS or GCP accounts to the platform to host infrastructure within your own cloud environment. ([source](https://encore.dev/docs/platform/deploy/deploying))
- [Container Image Packaging](https://awesome-repositories.com/f/devops-infrastructure/container-image-packaging.md) — Compiles application code into portable Docker images for deployment across container-based environments. ([source](https://encore.dev/docs/go/quick-start))
- [Environment Mirroring](https://awesome-repositories.com/f/devops-infrastructure/environment-mirroring.md) — Simulates production environments locally to ensure parity between development and deployment. ([source](https://encore.dev/))
- [Workflow Orchestrators](https://awesome-repositories.com/f/devops-infrastructure/workflow-orchestrators.md) — Executes long-running, fault-tolerant workflows by integrating with external task orchestration engines. ([source](https://encore.dev/docs/go/how-to/temporal))
- [Object Storage Providers](https://awesome-repositories.com/f/devops-infrastructure/object-storage-providers.md) — Maps application-defined storage buckets to specific cloud provider implementations like S3 or Google Cloud Storage. ([source](https://encore.dev/docs/go/self-host/configure-infra))

### System Administration & Monitoring

- [Distributed Observability Platforms](https://awesome-repositories.com/f/system-administration-monitoring/distributed-observability-platforms.md) — Acts as a unified platform for building, deploying, and managing type-safe microservices.
- [Monitoring and Observability](https://awesome-repositories.com/f/system-administration-monitoring/monitoring-and-observability.md) — Provides automated instrumentation, request tracing, and real-time architecture visualization for system observability.
- [Distributed Tracing](https://awesome-repositories.com/f/system-administration-monitoring/monitoring-and-observability/observability-platforms/distributed-tracing-execution-analysis/distributed-tracing.md) — Includes a suite for monitoring distributed systems through automated request tracing and structured logging.
- [Distributed Tracing Instrumentation](https://awesome-repositories.com/f/system-administration-monitoring/distributed-tracing-instrumentation.md) — Automatically injects span metadata into request flows to provide end-to-end visibility across service boundaries.
- [Distributed Tracing and Execution Analysis](https://awesome-repositories.com/f/system-administration-monitoring/monitoring-and-observability/observability-platforms/distributed-tracing-execution-analysis.md) — Analyzes distributed request traces and execution metadata to identify performance bottlenecks and debug errors. ([source](https://encore.dev/docs/go/ai-integration))
- [Service Definitions](https://awesome-repositories.com/f/system-administration-monitoring/administrative-operations/service-and-infrastructure-management/service-definitions.md) — Declares structured application settings that are unified and computed across different environments using schema-based definitions. ([source](https://encore.dev/docs/go/develop/config))
- [Error Tracking Integrations](https://awesome-repositories.com/f/system-administration-monitoring/monitoring-and-observability/diagnostic-error-reporting/error-tracking-integrations.md) — Integrates with external monitoring platforms to automatically capture and report runtime exceptions. ([source](https://encore.dev/blog))
- [Remote Database Administrators](https://awesome-repositories.com/f/system-administration-monitoring/remote-infrastructure-management/remote-database-administrators.md) — Provides command-line tools for database shell access and traffic proxying to remote instances. ([source](https://encore.dev/docs/go/primitives/databases))

### Web Development

- [Type-Safe API Frameworks](https://awesome-repositories.com/f/web-development/type-safe-api-frameworks.md) — Provides a toolset for defining type-safe APIs with automated client library generation and network routing. ([source](https://encore.dev/docs/ts/concepts/hello-world))
- [Type-Safe API Clients](https://awesome-repositories.com/f/web-development/type-safe-api-clients.md) — Generates client libraries and communication protocols from function definitions to ensure consistent data exchange.
- [Request Validation Middleware](https://awesome-repositories.com/f/web-development/request-validation-middleware.md) — Executes high-performance request decoding and schema validation in a middleware layer before processing.
- [gRPC Service Implementations](https://awesome-repositories.com/f/web-development/api-management-tools/api-development-management/api-client-implementations/grpc-service-implementations.md) — Integrates external gRPC services by mounting handlers to raw endpoints for seamless communication. ([source](https://encore.dev/docs/go/how-to/grpc-connect))

### Security & Cryptography

- [API Security Management](https://awesome-repositories.com/f/security-cryptography/api-security-management.md) — Exposes type-safe API endpoints with built-in authentication, request validation, and automated documentation.
- [Encrypted Secret Management](https://awesome-repositories.com/f/security-cryptography/encrypted-secret-management.md) — Provides secure, encrypted management and injection of sensitive configuration values across environments. ([source](https://encore.dev/docs/go/primitives/secrets))
- [Identity Token Services](https://awesome-repositories.com/f/security-cryptography/identity-token-services.md) — Verifies incoming JSON Web Tokens against external providers to authenticate users and extract unique identifiers. ([source](https://encore.dev/docs/go/how-to/logto-auth))
- [Secure Network Communication](https://awesome-repositories.com/f/security-cryptography/secure-network-communication.md) — Enforces encrypted network traffic using mutual TLS and mandatory certificate validation. ([source](https://encore.dev/docs/platform/deploy/security))
- [Identity Service Providers](https://awesome-repositories.com/f/security-cryptography/identity-access-management/identity-management/identity-service-providers.md) — Maps service accounts to IAM roles to enforce least-privilege access to cloud resources. ([source](https://encore.dev/docs/platform/infrastructure/kubernetes))
- [Identity Propagation](https://awesome-repositories.com/f/security-cryptography/identity-propagation.md) — Propagates authenticated user information across internal service calls to maintain a consistent security context. ([source](https://encore.dev/docs/go/develop/auth))
- [Infrastructure Change Logs](https://awesome-repositories.com/f/security-cryptography/audit-logs/infrastructure-change-logs.md) — Maintains audit records for infrastructure modifications to ensure visibility and prevent accidental resource loss. ([source](https://encore.dev/docs/platform/deploy/security))

### Software Engineering & Architecture

- [Service Contract Definitions](https://awesome-repositories.com/f/software-engineering-architecture/api-contract-definitions/service-contract-definitions.md) — Exposes application logic as network endpoints by declaring them within service-specific folders for automatic infrastructure provisioning. ([source](https://encore.dev/docs/ts/how-to/nestjs))
- [Distributed Service Architectures](https://awesome-repositories.com/f/software-engineering-architecture/distributed-service-architectures.md) — Provides a framework for building and managing modular, type-safe microservices in distributed architectures.
- [Event Driven Messaging](https://awesome-repositories.com/f/software-engineering-architecture/event-driven-messaging.md) — Implements asynchronous communication between services using managed topics and subscriptions.
- [API Client Generators](https://awesome-repositories.com/f/software-engineering-architecture/api-client-generators.md) — Automatically generates type-safe client libraries from backend definitions to ensure consistent data exchange. ([source](https://encore.dev/docs/platform/other/vs-supabase))
- [Remote Service Invocations](https://awesome-repositories.com/f/software-engineering-architecture/service-locators/remote-service-invocations.md) — Executes remote service calls as local functions with automatic network communication and boilerplate generation. ([source](https://encore.dev/docs/go/primitives/api-calls))
- [Rate Limiting](https://awesome-repositories.com/f/software-engineering-architecture/request-throttling/rate-limiting.md) — Enforces request limits per client with standard response headers to maintain system stability. ([source](https://encore.dev/blog/thundering-herd-problem))
- [Retry Policies](https://awesome-repositories.com/f/software-engineering-architecture/error-handling/retry-policies.md) — Configures automatic retry policies for failed event processing and routing to dead-letter queues. ([source](https://encore.dev/docs/go/primitives/pubsub))
- [Coding Standards Enforcement](https://awesome-repositories.com/f/software-engineering-architecture/coding-standards-enforcement.md) — Validates application code against predefined best practices during compilation to ensure architectural consistency. ([source](https://encore.dev/docs/go/concepts/application-model))
- [Error Contextualization](https://awesome-repositories.com/f/software-engineering-architecture/error-handling/error-management/application-error-handlers/error-contextualization.md) — Enriches errors with contextual messages and key-value metadata for detailed debugging. ([source](https://encore.dev/docs/go/primitives/api-errors))
- [Remote Error Handling Utilities](https://awesome-repositories.com/f/software-engineering-architecture/remote-error-handling-utilities.md) — Extracts error codes and structured metadata from cross-service API calls to facilitate robust error handling. ([source](https://encore.dev/docs/go/primitives/api-errors))

### Data & Databases

- [Database Migration Management](https://awesome-repositories.com/f/data-databases/database-migration-management.md) — Automatically executes SQL migration files during startup to ensure schema synchronization. ([source](https://encore.dev/docs/go/how-to/atlas-gorm))
- [Metrics Collection](https://awesome-repositories.com/f/data-databases/data-analysis-visualization/telemetry-usage-analytics/metrics-collection.md) — Automatically instruments application components to collect operational metrics and logs. ([source](https://encore.dev/introduction))
- [Atomic Transaction Execution](https://awesome-repositories.com/f/data-databases/data-integration-synchronization/data-integration/database-integrations/atomic-transaction-execution.md) — Groups multiple database operations into a single unit of work that rolls back on failure. ([source](https://encore.dev/docs/ts/primitives/databases))
- [Database Branching](https://awesome-repositories.com/f/data-databases/database-branching.md) — Generates ephemeral database instances for preview environments by branching from existing production or staging data. ([source](https://encore.dev/docs/platform/infrastructure/neon))
- [Relational Database Connectors](https://awesome-repositories.com/f/data-databases/relational-database-connectors.md) — Initializes database connections by passing infrastructure-managed strings to object-relational mappers. ([source](https://encore.dev/docs/ts/develop/orms/sequelize))
- [GraphQL API Generators](https://awesome-repositories.com/f/data-databases/data-access-querying/database-apis/graphql-api-generators.md) — Exposes type-safe GraphQL endpoints through schema-first generation tools to minimize boilerplate. ([source](https://encore.dev/docs/go/tutorials/graphql))
- [Database Schema Introspection Tools](https://awesome-repositories.com/f/data-databases/database-schema-introspection-tools.md) — Provides automated introspection of database schemas to generate data operations and suggest schema modifications. ([source](https://encore.dev/docs/go/ai-integration))
- [Redis](https://awesome-repositories.com/f/data-databases/connection-managers/redis.md) — Configures external Redis instances with connection pooling, authentication, and key prefixing. ([source](https://encore.dev/docs/go/self-host/configure-infra))
- [Secure Access Tokens](https://awesome-repositories.com/f/data-databases/secure-access-tokens.md) — Generates time-limited signed URLs for secure, temporary access to cloud resources. ([source](https://encore.dev/docs/ts/primitives/object-storage))
- [Authentication Token Parsers](https://awesome-repositories.com/f/data-databases/structured-data-extraction/authentication-token-parsers.md) — Extracts authentication tokens and credentials from request headers or parameters into typed structures. ([source](https://encore.dev/docs/go/develop/auth))

### Development Tools & Productivity

- [AI Coding Assistants](https://awesome-repositories.com/f/development-tools-productivity/ai-coding-assistants.md) — Integrates AI coding assistants to automate code generation and provide architectural awareness. ([source](https://encore.dev/docs/go/concepts/benefits))
- [API Documentation Generators](https://awesome-repositories.com/f/development-tools-productivity/api-documentation-generators.md) — Automatically generates searchable API catalogues and specifications from source code. ([source](https://encore.dev/docs/go/quick-start))
- [Path Variable Extractors](https://awesome-repositories.com/f/development-tools-productivity/dynamic-variable-evaluators/path-variable-extractors.md) — Retrieves dynamic segments from request URLs for use as variables within API endpoint logic. ([source](https://encore.dev/docs/go/how-to/http-requests))
- [Global Application Contexts](https://awesome-repositories.com/f/development-tools-productivity/global-application-contexts.md) — Exposes application metadata and service architecture to automated agents for intelligent code generation. ([source](https://encore.dev/docs/go/ai-integration))
- [Third-Party Service Integrations](https://awesome-repositories.com/f/development-tools-productivity/third-party-service-integrations.md) — Provides pre-built modules for connecting to third-party platforms and external services. ([source](https://encore.dev/docs/go/tutorials/booking-system))

### Networking & Communication

- [Circuit Breakers](https://awesome-repositories.com/f/networking-communication/traffic-management-gateways/circuit-breakers.md) — Implements circuit breakers to automatically throttle requests and prevent cascading failures. ([source](https://encore.dev/blog/thundering-herd-problem))
- [Service Discovery](https://awesome-repositories.com/f/networking-communication/service-discovery.md) — Maps service names to network addresses and credentials to enable secure communication between distributed backend services. ([source](https://encore.dev/docs/go/self-host/configure-infra))
- [Message Delivery Guarantees](https://awesome-repositories.com/f/networking-communication/message-delivery-guarantees.md) — Configures message delivery guarantees like at-least-once or exactly-once to balance reliability. ([source](https://encore.dev/docs/go/primitives/pubsub))

### Testing & Quality Assurance

- [Local Infrastructure Environments](https://awesome-repositories.com/f/testing-quality-assurance/testing-infrastructure-management/test-infrastructure/local-infrastructure-environments.md) — Provisions local infrastructure environments to allow code to be tested against actual services rather than mocks. ([source](https://encore.dev/docs/go/ai-integration))
