Simple Reddit clone.
Live demo 👉 Reddit-clone-nine-xi
Dev live demo 👉 Reddit-clone-dev
| Home | Comments | Responsive | Dark mode |
|---|---|---|---|
![]() |
![]() |
![]() |
![]() |
- Public post reading
- Post creation
- Nested commentary system (with accordion)
- Voting system
- Dark mode
- Rate limiter
- User Signs
- Responsive design
- Post Edition/Deletion
- Full Typesafe
To be able to run this project locally, you will have to follow a few steps:
This app needs some .env config props, make you sure to provide:
DATABASE_URL: The live demo is usingPostgreshosted onSupabase. You're free to use any BD you'll prefer, just make sure to set the correct provide in yourprisma.schemaDIRECT_URL: Used for migrations. You can remove it if you plan to use another provider. (make sure to remove it inprisma.schema).NEXT_PUBLIC_CLERK_PUBLISHABLE_KEYCLERK_SECRET_KEYUPSTASH_REDIS_REST_URL(new): Used for rate limiter, available on your console.upstash.com/redis/UPSTASH_REDIS_REST_TOKEN(new)
After the above is done, you can proceed with the installation and the application launch:
# Install dependency
pnpm install
# Launch the project in dev mode
pnpm run dev💡 Note: This project is using
pnpm, you are free to use any packages manager that will suite you. Just Make sure to have the latestNodeJSversion installed!
Any kind of contribution will be gratefully appreciated. Feel free to raise an issue 👈
This is a T3 Stack project bootstrapped with create-t3-app with shadcn for commponents and Clerk for Authentication.



