This is my official repo template for realtime kit using Next.js
This monorepo includes the following packages/apps:
apps/web
: the main app.apps/server
: The WebSocket server.packages/atoms
: a stub React component library used by web app.packages/db
: The db client, tables and custom queries.packages/tw-config
: Tailwind base config shared across many packages.packages/biome-config
: Biome configurations.packages/typescript-config
:tsconfig.json
s used throughout the monorepo.
Each package/app is 100% TypeScript.
This monorepo has some additional tools already setup for you:
- TypeScript for static type checking.
- Biome for code linting and formatting.
To develop all apps and packages, run the following command:
Important
Before running the dev
command, please visit the set up guide.
cd realtime-kit-nextjs
pnpm dev
To build all apps and packages, run the following command:
cd realtime-kit-nextjs
pnpm build