Skip to content

azuresphere7/reddit-clone

Repository files navigation

Reddit Cloned Social Media Post

T3 Stack project bootstrapped with create-t3-app.

Technologies Used

How to Run the Project

  1. 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'
  1. Create an .env file to the root project and paste your PlanetScale database URL. Get the Database URL from the prisma dropdown selector in PlanetScale
DATABASE_URL='YOUR DATABASE URL'
  1. Install pnpm
npm i -g pnpm
  1. Install the dependencies:
pnpm install
  1. Run the development server:
pnpm dev
  1. Open http://localhost:3000 with your browser to see the result.