Encore is an open-source backend framework and cloud platform for building distributed systems. It automates infrastructure, offers end-to-end type-safety, and provides built-in observability.
- Automated Infrastructure:
Local & Cloud (AWS/GCP) provisioning
Infrastructure semantics within application code
No separate config tools needed
- Type-Safe Microservices:
Define & call APIs like normal functions
Full type-safety & IDE auto-complete
Automatic protocol communication boilerplate
- Faster Development:
Hot reload & automatic local infrastructure setup
Simplified, speedier development process
Observability:
API explorer, distributed tracing, architecture diagrams
Service catalog with automatic API documentation
- Cloud Platform:
Seamless workflow with CI/CD, testing, & infrastructure provisioning
Preview environments for every PR
- Security & Scalability:
Battle-tested AWS/GCP services
Best practices for security & scalability
Metrics & logging for critical aspects
The use cases covered in the article include caching, queueing, locking, throttling, session store, and rate limiting.