trpc

(โ˜… 40,531)

๐Ÿง™โ€โ™€๏ธ Move Fast and Break Nothing. End-to-end typesafe APIs made easy.

  • .coderabbit.yaml
  • .dockerignore
  • .gitignore
  • .kodiak.toml
  • .npmrc
  • .nvmrc
  • .prettierignore
  • .tool-versions
  • .ts-prunerc
  • codecov.yml
  • CONTRIBUTING.md
  • eslint.config.js
  • lerna.json
  • LICENSE
  • package.json
  • pnpm-lock.yaml
  • pnpm-workspace.yaml
  • prettier.config.js
  • README.md
  • SECURITY.md
  • tsconfig.build.json
  • tsconfig.json
  • turbo.json
  • vitest.config.ts

# Installation Guide

1. Get the code
git clone https://github.com/trpc/trpc

Downloads the entire project code from GitHub to your computer.

cd trpc

Moves into the project folder you just downloaded.

2. Node.js

Easy Recommended
Prerequisites
  • Git Needed to download the project code from GitHub.
  • Node.js Node.js must be installed to use npm. The LTS version is recommended.
yarn create next-app --example https://github.com/trpc/trpc --example-path examples/next-prisma-starter trpc-prisma-starter

Type this command into your terminal and run it.

pnpm create next-app --example https://github.com/trpc/trpc --example-path examples/next-prisma-starter trpc-prisma-starter

Type this command into your terminal and run it.

deno init --npm next-app --example https://github.com/trpc/trpc --example-path examples/next-prisma-starter trpc-prisma-starter

Type this command into your terminal and run it.

<img alt="weekly downloads" src="https://img.shields.io/npm/dm/%40trpc/server.svg">

Type this command into your terminal and run it.

โœ… After running the command, open the address shown in the terminal (usually something like http://localhost:3000) in your browser.

Pulled directly from this repo's README.

// repository documentation