This is a cool boilerplate for Next.js projects. It includes setup for the following tools:
- Tailwind CSS
- Shadcn/UI
- Sonner
- NProgress
- Recoil
- Moment.js (for now, might be replaced with Date-fns)
- Lucide Icons
Do I have to tell you how?
- run
pnpm i
to install all dependencies
- Visit Clerk and create an account
- Create a new project
- Copy the
CLERK_SECRET_KEY
andNEXT_PUBLIC_CLERK_PUBLISHABLE_KEY
variables and paste them into.env.local
- Visit PlanetScale and create an account
- Create a new database and set framework to Prisma
- Copy the
DATABASE_URL
variable and paste it into.env.local
- run
pnpm prisma db push
to push the state ofschema.prisma
to the database
- Visit Uploadthing and create an account
- Create a new app
- Copy the
UPLOADTHING_SECRET
andUPLOADTHING_APP_ID
variables and paste them into.env.local
Along with your Clerk, Uploadthing, and Database env variables, you will need to add the following:
/* TBD */
- run
pnpm dev
to start the app - Test Clerk authentication and tRPC works by following instructions
Happy hacking.