Skip to content
Source
Sign inSign up
TanStack/router
Open History to see the last commit

README.md

46 lines752 Bytes

TanStack Router - tRPC Integration Example

An example demonstrating integration with tRPC for type-safe APIs.

Start a new project based on this example

To start a new project based on this example, run:

npx gitpick TanStack/router/tree/main/examples/react/with-trpc with-trpc

Getting Started

Install dependencies:

pnpm install

Start the development server:

pnpm dev

Build

Build for production:

pnpm build

About This Example

This example demonstrates:

  • tRPC integration with TanStack Router
  • Type-safe API calls
  • End-to-end type safety
  • Server and client setup
  • Procedure definitions