0sssama / next-boilerplate

Cool Next.js boilerplate to quickly get going with building your next big thing.

Home Page:https://next-boilerplate-0sssama.vercel.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Next Boilerplate

This is a cool boilerplate for Next.js projects. It includes setup for the following tools:

Framework

DX

Backend (sort of)

Back-front integration

UI

How to start

Clone the repo

Do I have to tell you how?

Install dependencies

  • run bun install to install all dependencies

Create Clerk app

  • Visit Clerk and create an account
  • Create a new project
  • Copy the CLERK_SECRET_KEY and NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY variables and paste them into .env.local

Create PlanetScale database

  • 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 bunx prisma db push to push the state of schema.prisma to the database

More env variables

Along with your Clerk, Uploadthing, and Database env variables, you will need to add the following:

/* nothing for now, might change later */

Run the app

  • run bun dev to start the app
  • Test Clerk authentication and tRPC works by following instructions

Start building

Happy hacking.

About

Cool Next.js boilerplate to quickly get going with building your next big thing.

https://next-boilerplate-0sssama.vercel.app


Languages

Language:TypeScript 69.2%Language:JavaScript 22.6%Language:CSS 7.9%Language:Shell 0.4%