Skip to content

Choose a Cratis Arc backend

Cratis Arc provides backends for C# on ASP.NET Core, Kotlin and Java on Spring Boot, TypeScript on Node.js, and Go. Each follows CQRS: commands request changes and queries read data, with generated TypeScript clients connecting those contracts to the frontend. The host, APIs, and supported capabilities differ, so choose a path below before copying setup or integration code.

  • C# — ASP.NET Core and the lightweight Arc.Core host, with MongoDB and Entity Framework Core integrations, Roslyn analyzers, and post-build TypeScript proxy generation.
  • Kotlin and Java — Spring Boot, with Spring Data JPA and MongoDB integrations, KSP compile-time diagnostics, and Gradle-driven TypeScript proxy generation.
  • TypeScript — Node.js, on its own HTTP host or in Express, Fastify, or Hono, with MongoDB and Drizzle SQL integrations, a Chronicle integration with a documented subset of capabilities, ESLint rules, and TypeScript proxies generated from your source. No package is published to npm, and it does not claim full parity with the C# implementation. Its capability reference gives the status of each capability.
  • Go — an HTTP host with explicit metadata, typed Go adapters, and bounded TypeScript proxy generation. Start with the running application guide and check the parity reference for supported contracts and verification limits.

A shared command/query model lets you organize a feature as a vertical slice: keep its write, read, frontend, and specs together. It does not make backend code or configuration interchangeable.

These implementations share the application-boundary model and frontend packages. Wire compatibility is capability-specific; implementation references document supported behavior and deliberate differences. The HTTP contract describes the shared contract verified for C# and JVM, while the TypeScript capability reference identifies what that backend supports. Go records its own paired HTTP checks and deliberate limits in its parity reference. That is a separate evidence boundary, not an additional column in the C#/JVM contract.

The backends generate proxies for the shared @cratis/arc runtime and React integration, but generator and frontend verification coverage differ. Use the frontend documentation alongside your backend’s capability reference; Go’s bounded generated-client checks do not establish full browser or React parity. First complete the chosen backend’s setup and proxy-generation steps, then use those generated clients in the frontend. After a backend contract changes, regenerate and type-check its frontend callers. The steps for running the generator differ by language; see your backend’s proxy generation page.