- Install packages
pnpm install - To setup the backend
apps/apifollow README - To setup the customer facing frontend
apps/webfollow README - Run
pnpm devto run all apps at once - Run
pnpm dev:webto run only the frontend web app with required packages - Run
pnpm dev:apito run only the backend app with required packages - Build
packages/zodusingpnpm --filter @repo/zod buildafter making changes to it so that nestjs can use it - To generate axios code, run
pnpm --filter @repo/api gen, you can use these command to execute scripts of individual packages or apps likepnpm --filter [apps/package identifier] [command]
api: a Nest.js appweb: another Next.js app@repo/ui: a stub React component library shared by bothwebapplications@repo/zod: a zod validation schema shared by all the apps@repo/api: an axios implemented(generated) layer of nestjs api to be used by frontend apps@repo/eslint-config:eslintconfigurations (includeseslint-config-nextandeslint-config-prettier)@repo/typescript-config:tsconfig.jsons used throughout the monorepo
Each package/app is 100% TypeScript.
- Nextjs 15, React 19
- shadcn/ui with tailwind v4
- Nestjs, Prisma, Postgres, Redis, Passport Js
- Zod, Axios
- Swagger (Generated from zod schemas using nestjs-zod package)
To build all apps and packages, run the following command:
cd <repo>
pnpm build
To develop all apps and packages, run the following command:
cd <repo>
pnpm dev
Learn more about the power of Turborepo: