A custom Next.js template featuring TypeScript, React, Shadcn UI, Radix UI, Tailwind CSS, and more. This monorepo includes feature branches for authentication, payments, and database integrations.
- UI: Tailwind CSS, Shadcn UI, Radix UI
- Authentication: Clerk
- Database: Supabase, Prisma
- Payments: Stripe
- CMS: Sanity
Clone the repository and install dependencies:
git clone https://github.com/chrisknsmn/next-template.git
cd next-template
npm install
Install Prisma and the Prisma client:
Initialize Prisma:
npx prisma init
Set the following environment variables in your .env
file:
DATABASE_URL=your_database_url
DIRECT_URL=your_direct_url
Refer to the Prisma Integration with Supabase for more information.
Run the initial migration after updating your schema:
npx prisma migrate dev --name init
Start the development server:
npm run dev
Open http://localhost:3000 in your browser.
- Next.js Documentation
- Tailwind CSS Documentation
- Supabase Documentation
- Prisma Documentation
- Clerk Documentation
- Stripe Documentation
- Sanity Documentation
- Shadcn UI Documentation
This project is licensed under the MIT License.