nanlabs /
ts-monorepo-boilerplate
This repository is a starter kit for a TypeScript monorepo project. It is based on TypeScript, Npm, ESLint, Prettier, Jest, Turborepo and Changesets.
Loading repository data…
akashdeep023 / repository
This repository is a Turborepo setup for building full-stack applications. It combines a frontend, backend, and shared packages in one place.
This repository is a Turborepo setup for building full-stack applications. It combines a frontend, backend, and shared packages in one place.
.
├── apps/
│ ├── web/ # Next.js frontend (Tailwind + Shadcn UI)
│ └── api/ # Express backend (Prisma + PostgreSQL)
├── packages/
│ ├── ui/ # Shared UI components (Shadcn + Tailwind)
│ ├── database/ # Prisma client + DB helpers
│ ├── config-*/ # Shared configs (Tailwind, ESLint, TypeScript)
└── turbo.json # Turborepo config
This app is a Next.js frontend using Tailwind + Shadcn UI.
Add NEXT_PUBLIC_NODE_API to .env in the root of the apps/web
NEXT_PUBLIC_NODE_API="http://localhost:4000"
Run it locally:
cd apps/web
npm run dev
This package contains reusable UI components using Shadcn + Tailwind. You can extend the UI by adding components:
cd packages/ui
npx shadcn-ui@latest add button
Then use it in apps:
import { Button } from "@repo/ui/components/button";
export default function Page() {
return <Button variant={"outline"}>Click Me</Button>;
}
This package provides a Prisma client to connect to PostgreSQL. Run migrations and generate the client from here:
Add DATABASE_URL to .env in the root of the packages/database
DATABASE_URL="postgresql://<username>:<password>@<host>/<database_name>?sslmode=require&channel_binding=require"
NODE_ENV="development"
cd packages/database
npx prisma migrate dev --name init
npx prisma generate
Use it in apps:
import { prisma } from "@repo/database";
const users = await prisma.users.findMany();
From the root of the repo:
npm install
npm run dev
Built by:
Selected from shared topics, language and repository description—not editorial ratings.
nanlabs /
This repository is a starter kit for a TypeScript monorepo project. It is based on TypeScript, Npm, ESLint, Prettier, Jest, Turborepo and Changesets.