This a demo of a monorepo using bun workspace.
This monorepo includes the following packages/apps:
backend
: Elysia.js appweb
: Next.js appmobile
: React Native Expo + expo-routerbackend-api
: a shared end-to-end type safety package.
This monorepo has some additional tools already setup for you:
- TypeScript for static type checking
- Biome.js for code formatting and linting. It is recommended to install the VS Code extension
To install and start developing all apps, run the following command:
bun install
bun dev
# type check all packages
bun typecheck
# format all packages
bun format
# lint all packages
bun lint