An open-source clone of Threads using Next.js server components, Vercel Postgres, shadcn UI, Clerk, and Prisma.
threads-export1.mp4
git clone https://github.com/ishaan1013/thr
- Add the environment variables in .env
- (This project uses Prisma as an ORM for the database)
- Add the environment variables in .env
- Ensure you have the following variables:
NEXT_PUBLIC_CLERK_AFTER_SIGN_IN_URL="/"
NEXT_PUBLIC_CLERK_AFTER_SIGN_UP_URL="/onboarding"
NEXT_PUBLIC_CLERK_SIGN_IN_URL="/sign-in"
NEXT_PUBLIC_CLERK_SIGN_UP_URL="/sign-up"
npm install
Then, run the application in the command line and it will be available at http://localhost:3000
.
npm run dev