Ts — Encore

is a new breed of TypeScript backend framework that flips the script. It is not just an HTTP router; it is a complete backend development platform that includes infrastructure tooling, type-safe clients, and built-in distributed systems primitives. What is Encore.ts? Developed by the team behind Encore (originally a Go framework), Encore.ts brings the same "backend development platform" philosophy to TypeScript. It is an opinionated framework that compiles your TypeScript code into a deployable backend, automatically handling infrastructure provisioning (like databases, queues, and cron jobs) and generating idiomatic API clients.

In your Next.js or React frontend:

For years, building a backend in TypeScript has followed a predictable pattern: grab express or Fastify , add some zod for validation, wire up a few ts-node scripts, and pray your async error handling doesn't silently fail. While this works, it feels bolted together. encore ts

// Backend: my-app/hello.ts interface PingParams name: string export const ping = api( method: "POST", path: "/ping/:name", expose: true , async (params: PingParams): Promise< message: string > => return message: Hello, $params.name! ; is a new breed of TypeScript backend framework

site_map