A modern monorepo setup using Turborepo, Bun, and TypeScript. This monorepo contains multiple applications and shared packages, providing a scalable and maintainable development environment.
.
├── apps/ # Applications
│ ├── app/ # Main application
│ ├── web/ # Web application
│ ├── email/ # Email service application
│ └── studio/ # Studio application
├── packages/ # Shared packages
│ ├── ui/ # Shared UI components
│ ├── tsconfig/ # Shared TypeScript configurations
│ ├── auth/ # Authentication package
│ ├── database/ # Database utilities
│ ├── email/ # Email service package
│ ├── rate-limit/ # Rate limiting package
│ └── security/ # Security utilities
└── ...
- Bun (v1.1.38 or later)
- Node.js (LTS version recommended)
# Install dependencies
bun install
# Start development servers
bun run dev
# Build all packages and applications
bun run build
bun run dev:web
- Start the web development serverbun run dev:app
- Start the app development server