pnpm install
apps/api
follow READMEapps/web
follow READMEpnpm dev
to run all apps at oncepnpm dev:web
to run only the frontend web app with required packagespnpm dev:api
to run only the backend app with required packagespackages/zod
using pnpm --filter @repo/zod build
after making changes to it so that nestjs can use itpnpm --filter @repo/api gen
, you can use these command to execute scripts of individual packages or apps like pnpm --filter [apps/package identifier] [command]
api
: a Nest.js appweb
: another Next.js app@repo/ui
: a stub React component library shared by both web
applications@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
: eslint
configurations (includes eslint-config-next
and eslint-config-prettier
)@repo/typescript-config
: tsconfig.json
s used throughout the monorepoEach package/app is 100% TypeScript.
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: