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
1. You will need to clone the repo, then run
npm 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 it in the .env file like so
<other env file above>
NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY=your_public_key_here
CLERK_SECRET_KEY=your_private_key_here
-Refactor comments and then likes, they need refactor badly
-Only fetch 3 comments, allow users to see more comments if they click a dropdown, also add delete to comments
-Add server actions
-Use react dev tools to test performance
-Allow user to change user username when they change their username in clerk, make sure no duplicates
-Add dm mechanic
-Allow users to post images
-Allow accounts to be private and add follow requests