Kaiju it’s a full-stack, typesafe boilerplate built on top of vanilla React, Hono RPC, PostgreSQL and TypeScript.
Get started with the template by clicking Use this template button on the top of the page.
🚧 Work in Progress
Kaiju is currently in active development.
This project is inspired by the T3 Stack but focuses on a different use case: making it easy to build and deploy single-page applications (SPAs) without the overhead of Next.js or server components, while keeping the backend as a separate application.
If your app doesn’t need SSR, using a plain React setup with Vite and deploying it via CDN can be much simpler and cheaper. This starter provides a clean foundation for that kind of workflow.
It’s a reasonably opinionated minimalistic boilerplate where every tool is carefully chosen to provide the best DX and TypeScript support. At the same time every piece is easily replaceable — you can swap Mantine for shadcn/ui, Drizzle for Kysely or Prisma, Hono for tRPC/Express/Nest and more, tailoring the stack to fit your preferences and needs.
- React
- React Router
- React Query
- Vite
- Mantine UI
- Hono
- PostgreSQL
- Drizzle
- TypeScript
- Zod
- i18n
- ESLint, Prettier, husky
- pnpm
- Turborepo
- Docker
- Digital Ocean
- GitHub Actions
- Sentry
This application uses Turborepo and pnpm for monorepo configuration, docker-compose for running infrastructure (PostgreSQL, Redis, etc). Install the next tools before starting:
- Node.js
- pnpm →
npm i -g pnpm@latest-10 - Docker Desktop
- Turborepo →
pnpm i turbo --global
pnpm infra. Wait until the whole infrastructure starts and follow the next step.
pnpm i. Install dependencies.
pnpm migrate. Run migrations.
pnpm dev. Run the application. It will be accesible on http://localhost:5173/
TBD
TBD