Skip to content

kinsmanmedia/next-template

Repository files navigation

Next Template

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.

Features

  • UI: Tailwind CSS, Shadcn UI, Radix UI
  • Authentication: Clerk
  • Database: Supabase, Prisma
  • Payments: Stripe
  • CMS: Sanity

Getting Started

Clone the repository and install dependencies:

git clone https://github.com/chrisknsmn/next-template.git
cd next-template
npm install

Prisma Setup

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.

Updating the Schema

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.

Documentation

License

This project is licensed under the MIT License.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published