Local Development

Run your entire backend locally with a single command. All your microservices, databases, pub/sub, and distributed tracing work on your machine without Docker Compose or manual setup.

One command, everything running

Run encore run and your entire application starts: all your microservices, PostgreSQL databases provisioned, migrations applied, pub/sub queues running, and a local dashboard with distributed tracing.

This works for systems of any size, from a single service to hundreds of microservices. No Docker Compose, no manual setup, no YAML configuration.

1
command to start
0
Docker config needed
terminal
marcus@Mac project % encore run
✔ Building Encore application graph... Done!
✔ Analyzing service topology... Done!
✔ Creating PostgreSQL database cluster... Done!
✔ Starting PubSub daemon... Done!
✔ Fetching application secrets... Done!
✔ Running database migrations... Done!
✔ Starting Encore application... Done!
Encore development server running!
Your API is running at: http://127.0.0.1:4000
Development Dashboard URL: http://127.0.0.1:9400/project-aq6i
MCP SSE URL: http://127.0.0.1:9900/sse?appID=project-aq6i

Production-like infrastructure, locally

The local environment mirrors production. When you define a database in code, it runs locally. Pub/sub topics work locally. Cron jobs fire on schedule. No surprises when you deploy.

All Your Microservices

Run hundreds of services with a single command, no Docker Compose needed

PostgreSQL Databases

Real PostgreSQL instances with your migrations applied automatically

Pub/Sub Queues

In-memory message queues that behave like cloud pub/sub

Distributed Tracing

See request flows across services in the local dashboard

API Explorer

Test endpoints directly from the browser with type-aware forms

Hot Reload

Code changes take effect immediately without restarting

Debug with production-quality tools

The local development dashboard at localhost:9400 includes distributed tracing, API explorer, and service catalog. Debug with production-quality tools from day one.

  • Trace requests across services
  • See SQL queries with timing
  • Inspect pub/sub messages
  • Test APIs with generated forms
Encore local development trace view

Build faster with AI coding assistants

Encore's local development environment works seamlessly with AI coding assistants. With MCP integration and Encore-specific rules, AI understands your architecture and can generate code that works with your local infrastructure.

Test AI-generated code instantly with real databases, pub/sub queues, and services running locally. You get immediate feedback with actual infrastructure, not mocks.

Learn about AI-powered development →
Trusted by teams at
GrouponPaveBookshop.orgCoinbase

Stop wrestling with Docker Compose

Get started in minutes, not hours.