This is an official starter Turborepo with multiple meta-frameworks all working in harmony and sharing packages.
This example also shows how to use Workspace Configurations.
Run the following command to insall dependencies
pnpm install
Then populate the following files:
- apps/server/.env
- apps/web/.env
- packages/api/.env
This Turborepo includes the following packages and apps:
Apps:
Packages:
logger
: isomorphic logger (a small wrapper around console.log)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.
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