This is a basic Turborepo setup for a Next.js app with Express.js server, using TypeScript.
Run the following command to start the apps:
pnpm install
pnpm dev
This boilerplate includes following packages/apps:
web
: a Next.js appserver
: an Express.js app@packages/emails
: a React email component library to be used in the server app.@packages/eslint-config
: eslint
configurations (includes eslint-config-next
and eslint-config-prettier
)@packages/tsconfig
: tsconfig.json
s used throughout the monorepo@packages/shared
: Shared types and utilities between the server and web appsEach package/app is 100% TypeScript.
This boilerplate has some additional tools already setup for you:
as well as:
To build all apps and packages, run the following command:
pnpm build