- Turborepo
- React Vite
- Express.js
- tRPC
- TanStack Router
- Tailwind CSS
@repo/web
: Vite, React, TanStack Router and tRPC Client@repo/api
: Express.js, Drizzle and tRPC Server@repo/eslint-config
:eslint
configurations@repo/typescript-config
:tsconfig.json
s used throughout the monorepo@repo/tailwind-config
: shared Tailwind configuration
Each package/app is 100% TypeScript.
This Turborepo has some additional tools already setup for you:
- TypeScript for static type checking
- ESLint for code linting
- Prettier for code formatting
To get started, clone the repository and install the dependencies:
pnpm install
Then, copy the .env.example
file to .env
in the web/ folder and fill in the necessary environment variables. For local development, the defaul value will work. If you want to deploy the app, you will need to specify where the backend is hosted.
cp ./apps/web/.env.example ./apps/web/.env
To build all apps and packages, run the following command:
pnpm build
To run all apps and packages in development mode, run the following command:
pnpm dev