Skip to content
/ thr Public
forked from ishaan1013/thr

Web version of Meta's new app using Next.js server components, Vercel Postgres, shadcn UI, Clerk, and Prisma.

Notifications You must be signed in to change notification settings

ruheni/thr

This branch is up to date with ishaan1013/thr:master.

Folders and files

NameName
Last commit message
Last commit date
Jul 13, 2023
Jul 11, 2023
Jul 11, 2023
Jul 15, 2023
Jul 17, 2023
Jul 9, 2023
Jul 6, 2023
Jul 8, 2023
Jul 13, 2023
Jul 6, 2023
Jul 8, 2023
Jul 9, 2023
Jul 10, 2023
Jul 10, 2023
Jul 6, 2023
Jul 6, 2023
Jul 8, 2023

Repository files navigation

Threads

An open-source clone of Threads using Next.js server components, Vercel Postgres, shadcn UI, Clerk, and Prisma.

threads-export1.mp4

Deploy with Vercel

Running Locally

Cloning the repository the local machine.

git clone https://github.com/ishaan1013/thr

Create a Postgres database on Vercel (optional, can use other provider)

  • Add the environment variables in .env
  • (This project uses Prisma as an ORM for the database)

Create a project on Clerk

  • 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"

Installing the dependencies.

npm install

Running the application.

Then, run the application in the command line and it will be available at http://localhost:3000.

npm run dev

About

Web version of Meta's new app using Next.js server components, Vercel Postgres, shadcn UI, Clerk, and Prisma.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 97.0%
  • CSS 1.6%
  • JavaScript 1.4%