This is a template monorepo that includes the following:
web
app built with Next.js, Tailwind CSS v4, and Shadcndb
package with Prisma for database operationsui
package with a set of reusable React components built with Tailwind CSS v4types
package with TypeScript types for the entire monorepoThe monorepo is managed with Turborepo, which allows for fast and efficient development across multiple packages.
pnpm install
pnpm run dev
web
The web
package is a Next.js app that uses Tailwind CSS v4 and Shadcn. It includes a sample page with a button component from the ui
package.
db
The db
package includes Prisma for database operations. It includes a sample schema and a prisma
command to generate the database client.
ui
The ui
package includes a set of reusable React components built with Tailwind CSS v4. It includes a sample button component.
types
The types
package includes TypeScript types for the entire monorepo. It includes types for the web
, db
, and ui
packages.
The monorepo is managed with Turborepo, which allows for fast and efficient development across multiple packages. The pnpm run dev
command will start the development server for all packages.
The monorepo can be deployed to Vercel by running pnpm run deploy
. This will deploy the web
app to Vercel.