- Authentication via next-auth.
- Community & post creation.
- Post & comments upvotes/downvotes.
- Personalized & general feed.
- Redis cache for imporving performance.
- Prisma to interact with database.
- Uploadthing for storing images.
git clone https://github.com/azam-ali-jafri/reddit-clone.git
npm install or yarn install
DATABASE_URL=
NEXTAUTH_SECRET=
GOOGLE_CLIENT_ID=
GOOGLE_CLIENT_SECRET=
UPLOADTHING_SECRET=
UPLOADTHING_APP_ID=
REDIS_URL=
REDIS_SECRET=
Add your database url then execute this command (I used mongoDB)
npx prisma db push
npm run dev