A bleeding edge React Router v7 monorepo setup with the bells and whistles required to get a project underway with all the latest toys in late 2024.
git clone https://github.com/barclayd/react-router-trpc-hono-bun-template
cd react-router-trpc-hono-bun-template
bun install
.
├── apps/
│ ├── web/ # React Router frontend
│ │ ├── app/ # Routes and components
│ │ └── package.json # React 19, React Router, tRPC client
│ │
│ └── server/ # Hono backend
│ ├── src/ # API routes and business logic
│ └── package.json # Hono, tRPC server
│
├── package.json # Workspace dependencies
└── turbo.json # Turborepo config
The monorepo is powered by Turborepo and Bun workspaces, consisting of:
apps/web
: React Router frontend applicationapps/server
: Hono backend serverCategory | Technology | Version |
---|---|---|
Build system | ![]() |
2.3.3 |
Workspace/runtime | 1.1.38 | |
Linting | 1.9.4 | |
Language | ![]() |
5.5.4 |
Server | ![]() |
4.6.13 |
API | 11.0.0-rc.660 | |
Schema validation | 3.23.8 | |
UI framework | ![]() |
7.0.2 |
UI library | 19.0.0 | |
Styling | 4.0.0-beta.6 | |
E2E testing | 1.49.0 | |
Integration testing | 2.1.8 | |
Bundler | 6.0.3 | |
CI | ![]() |
N/A |