BASE

Encore

Encore

Backend / API library · Free

A backend framework with service and infrastructure declarations: it helps build typed APIs and run the connected application environment locally.

Also known as: encoredev/encore; encore; encore-dev

Resource illustration: Encore

Open resource ↗

What you can use for free

Code and local use under MPL-2.0.

Paid features and costs

Computing resources, self-hosting, and external services are paid for separately if used.

Access and limitations

Code and local use under MPL-2.0. Computing resources, self-hosting, and external services are paid for separately if used.

Use cases

  • Create a typed backend with explicitly defined infrastructure
  • Declare required resources and test service interaction in a local environment

Example workflow

A possible workflow; this is not a report of hands-on testing.

Create a typed backend with explicitly defined infrastructure.

Before you start

  • A data contract or HTTP workflow.
  • A project with a supported runtime.

Steps

  1. Define the service and its API with input and output types.
  2. Declare required resources and test service interaction in a local environment.
  3. Add error handling and an integration check of the result.

Check your result

  • Invalid and missing data are handled predictably.
  • Types and the actual response agree; errors are not hidden.

Choosing Encore

Create a typed backend with explicitly defined infrastructure

Choose this when

  • Create a typed backend with explicitly defined infrastructure
  • Declare required resources and test service interaction in a local environment

Things to consider

  • Costs and limits of free use: Computing resources, self-hosting, and external services are paid for separately if used.
  • Terms of use: MPL-2.0 for the code, with file-level copyleft.
  • Python is labeled Coming soon in the language SDK table; this is not a confirmed available SDK.

Frequently asked questions

What can you use for free in Encore?

Code and local use under MPL-2.0.

What additional costs might arise with Encore?

Computing resources, self-hosting, and external services are paid for separately if used.

What terms of use matter for Encore?

MPL-2.0 for the code, with file-level copyleft.

How do you get started with Encore?

Define the service and its API with input and output types. Declare required resources and test service interaction in a local environment. Add error handling and an integration check of the result.

Is Encore's managed platform mandatory?

No: the open-source TypeScript/Go SDK can be used independently, with infrastructure hosted through your own means. encore run starts local Postgres, Pub/Sub, and tracing; the managed platform separately creates preview environments and infrastructure in your own AWS or GCP account.

License

MPL-2.0 for the code, with file-level copyleft.

MPL 2.0 — file-level copyleft

You can use the code in a commercial product and combine it with closed-source files. When distributing it, make the source code of MPL-covered files available, including your changes to those files, and retain notices. Independent new files can remain closed-source. Internal use alone does not require publishing the code.

License terms

Technologies and topics

  • Encore
  • API
  • Development

Sources

Other resources