Skip to content

jellydn/trpc-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Welcome to trpc-demo 👋

Version Prerequisite Prerequisite Twitter: jellydn

Monorepo for tRPC Demo Apps

tRPC - End-to-end typesafe APIs made easy

Prerequisites

  • npm >=7.0.0
  • node >=14.0.0

Features

  • tRPC: end-to-end typesafe APIs made easy
  • Turborepo: high-performance build system for JavaScript and TypeScript codebases.
  • Fastify: fast and low overhead web framework, for Node.js
  • Vite: next Generation Frontend Tooling
  • NextJs: the React Framework for Production

Why tRPC?

It's neat, right? :)

https://storage.googleapis.com/trpc/trpcgif.gif

Install

yarn install

Usage

yarn dev

Screenshot

https://gyazo.com/b749863e76c6fde69bb88f22125b33ca.gif

Run tests

yarn test

Apps and Packages

  • api: a fastify api app
  • web: another Next.js app
  • react-app: a react app
  • ui: a stub React component library shared by both web and docs applications
  • config: eslint configurations (includes eslint-config-next and eslint-config-prettier)
  • tsconfig: tsconfig.jsons used throughout the monorepo

Each package/app is 100% TypeScript.

Useful Links

Learn more about the power of Turborepo:

Author

👤 Dung Huynh

Show your support

Give a ⭐️ if this project helped you!


This README was generated with ❤️ by readme-md-generator