T3 Stack project bootstrapped with create-t3-app
.
- Go to Clerk Dashboard and navigate to
Developers -> API Keys
to copy your keys to the clipboard. Create a file named.env.local
and add the following:
NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY='YOUR CLERK PUBLISHABLE KEY'
CLERK_SECRET_KEY='YOUR CLERK SECRET KEY'
- Create an .env file to the root project and paste your
PlanetScale
database URL. Get the Database URL from theprisma
dropdown selector inPlanetScale
DATABASE_URL='YOUR DATABASE URL'
- Install pnpm
npm i -g pnpm
- Install the dependencies:
pnpm install
- Run the development server:
pnpm dev
- Open http://localhost:3000 with your browser to see the result.