TypeScript backend
A TypeScript backend stays maintainable when transport choices do not dictate its core. These articles cover adapters, request context, and asynchronous work in production services.
The path
15 min total
- tRPC as a driving adapter
tRPC can be a clean driving adapter when the domain and use cases stay plain TypeScript. The trick is to keep procedures thin: validate at the boundary, call the use case, and translate the result.
10 min read - When tRPC is not enough
tRPC is excellent for first-party TypeScript clients, but Java, C#, mobile, partners, and public integrations need an explicit contract. That usually means REST plus OpenAPI.
5 min read
Series in this path
- Parts 2 and 3 of TypeScript API boundaries