This is an my customized starter Turborepo with multiple started from kitchen sink official turborepo example. With tRPC client and NextJS app directory configuration setup via wpcodevo's nextjs13-trpc-setup example.
This repo is setup using pnpm
, so once you are in the project run pnpm i
to install everything and then you can get started with
pnpm dev
This Turborepo includes the following packages and apps:
apps/
trpc-api
: a tRPC server app (backend server agnostic, but currently runs inmain-app
nextjs server)main-app
: a Next.js appmsw
/msw-trpc
configured for testing
doc-site
: a docusaurus markdown based documenation website
packages/
auth
: a placeholder package to handle auth. no real logic here for now.logger
: isomorphic logger (a small wrapper around console.log) no real logic here for now.ui
: a dummy React UI library (which contains a single<CounterButton>
component)scripts
: Jest and ESLint configurationstsconfig
: tsconfig.json's used throughout the monorepo
Each package and app is:
- 100% TypeScript
- ESLint configured
- Jest configured
This Turborepo has some additional tools already setup for you:
- TypeScript for static type checking
- ESLint for code linting
- Jest test runner for all things JavaScript
- Prettier for code formatting
- VSCode shared settings with recommended extensions
- GitHub action that runs
pnpm test