Skip to content

Latest commit

 

History

History
65 lines (42 loc) · 1.59 KB

README.md

File metadata and controls

65 lines (42 loc) · 1.59 KB

Turbo Prisma Shadcn Starter

A starter template combining Next.js, Express.js, Tailwind CSS, and Shadcn UI, optimized with TurboRepo for monorepo management.

What's inside?

This Turborepo includes the following packages and apps:

Apps and Packages

  • web: a Next.js app
  • api: an Express server
  • @repo/ui: UI library with ShadCN Components
  • @repo/db: Prisma ORM
  • @repo/logger: isomorphic logger (a small wrapper around console.log)
  • @repo/config-eslint: ESLint configurations used throughout the monorepo
  • @repo/config-tailwind: Tailwind configurations used throughout the monorepo
  • @repo/config-typescript: tsconfig.json's used throughout the monorepo

Each package and app is 100% TypeScript.

Utilities

This Turborepo has some additional tools already setup for you:

Usage

Clone Repo

git clone https://github.com/gh0sty02/turbo-prisma-shadcn-starter.git

Install Dependencies

npm install

Start Dev Server

turbo dev

To Add Components

Navigate to the ui package and run the following command to add a new component:

cd packages/ui
npm run ui:add <component>

Contributing

Contributions are welcome! Please open an issue or submit a pull request.

License

This project is licensed under the MIT License.