Skip to content

Turbo Repo Starter Template with NextJs, Express, Prisma, Tailwind and Shadcn UI

Notifications You must be signed in to change notification settings

gh0sty02/turbo-prisma-shadcn-starter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.