DEV Community

Alex Spinov
Alex Spinov

Posted on

Encore Has a Free Backend Framework — Type-Safe Cloud Services in Go and TypeScript

Encore is a backend development framework that generates infrastructure from your code — no Terraform, no YAML.

What You Get for Free

  • Infrastructure from code — define APIs, databases, cron in code
  • Local dev cloud — databases, queues, pub/sub run locally
  • Auto-generated docs — API docs from your code, always up-to-date
  • Distributed tracing — built-in tracing, no Jaeger setup
  • Service catalog — see all services, APIs, dependencies
  • Go and TypeScript — pick your language per service
  • Preview environments — automatic per-PR environments
  • Encore Cloud — free tier with auto-deploy to AWS/GCP

Quick Start (TypeScript)

import { api } from "encore.dev/api"
import { SQLDatabase } from "encore.dev/storage/sqldb"

const db = new SQLDatabase("mydb", { migrations: "./migrations" })

export const getUser = api(
  { method: "GET", path: "/users/:id" },
  async ({ id }: { id: string }) => {
    const row = await db.queryRow`SELECT * FROM users WHERE id = ${id}`
    return row
  }
)
// That's it. Database provisioned. API endpoint created. Docs generated.
Enter fullscreen mode Exit fullscreen mode

Why Developers Switch from Express + Terraform

Traditional stack = 500 lines of YAML before writing business logic:

  • Zero YAML — infrastructure defined IN your code
  • Local devencore run gives you databases, queues, everything
  • Type-safe APIs — compiler catches API contract mismatches
  • Auto-scaling — deploy to Encore Cloud, scales automatically

A team spent 2 weeks configuring Terraform, API Gateway, and RDS for a 3-service app. With Encore: same app, same AWS, 2 hours — infrastructure generated from code.

Need Custom Data Solutions?

I build production-grade scrapers and data pipelines for startups, agencies, and research teams.

Browse 88+ ready-made scrapers on Apify → — Reddit, HN, LinkedIn, Google, Amazon, and more.

Custom project? Email me: spinov001@gmail.com — fast turnaround, fair pricing.

Top comments (0)