Open social media platform, we don't sell your data, in fact we can't, since there are no ads! Just a nice, simple, intuitive platform anyone can use. Built using NextJS, typescript, Prisma ORM, and Clerk. Formatting and linting done with Biome
1. You will need to clone the repo, then run
pnpm install
2. Then, make a database and run it in the background (my DB is psql on linux)
3. Then connect your DB to Prisma (follow the prisma website tutorial or read steps below (my steps might not work))
For connecting it to psql I simply made a .env file with my database information
DATABASE_URL="postgresql://johndoe:randompassword@localhost:5432/mydb?schema=public"
and then ran the commands:
npx prisma migrate dev --name init
npx prisma generate
3. You will also need to set up Clerk (follow their website tutorial or steps below)
Make a clerk account and get your API keys and then put them in a .env.local file like so
NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY=your_public_key_here
CLERK_SECRET_KEY=your_private_key_here