A minimal, high-performance monorepo built with modern technologies:
Clone the Repository
git clone https://github.com/DKeken/trpc-monorepo-stack.git
Install Dependencies
pnpm install
Configure Environment Variables
cp apps/web/.env.example apps/web/.env
cp apps/server/.env.example apps/server/.env
cp packages/database/.env.example packages/database/.env
Start Development
pnpm dev
This will spin up both Next.js and Bun servers concurrently.
.
├── apps/
│ ├── web/ # Next.js frontend (SIWE, RainbowKit, Wagmi, Tailwind)
│ └── server/ # Bun-based backend (tRPC, Drizzle, KeyDB)
└── packages/
└── database/ # Shared DB logic and migrations (Drizzle + PostgreSQL)
Feel free to open issues, propose new features, or submit pull requests.