Skip to content

Repository files navigation

Reddit Clone

Reddit Clone is a dynamic and engaging platform that mimics the core functionalities of Reddit, allowing users to create and explore discussions based on shared interests.

s1

Features

The Reddit Clone offers a range of community-driven features, as listed below

  • Create your account
    • Sign up and log in to your account to join discussions
  • Subreddit Creation
    • Create subreddits (community topics) where users can post content around specific interests
  • Create and Delete Posts
    • Users can submit posts to subreddits or delete them as needed
  • Comment on Posts
    • Engage with other users’ content by leaving comments
  • Upvote and Downvote
    • Rate posts and comments with upvotes or downvotes to signal their quality or relevance
  • Follow Subreddits
    • Subscribe to subreddits to get tailored content on your home feed based on your interests
  • Home Feed Personalization
    • View the latest posts from subreddits you follow

Tech Stack

  • HTML
  • Tailwind CSS
  • Typescript
  • Next.js
  • MongoDB
  • Prisma

Installation

Start the next server

Add these env variables to your .env file in the root directory

GOOGLE_CLIENT_ID =
GOOGLE_CLIENT_SECRET =
DATABASE_URL =
NEXTAUTH_SECRET =
REDIS_URL =
REDIS_SECRET =
UPLOADTHING_SECRET =
UPLOADTHING_APP_ID =

Install Dependencies

npm install

Run the server

npm run dev

About

Reddit Clone is a dynamic and engaging platform that mimics the core functionalities of Reddit, allowing users to create and explore discussions based on shared interests.

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages