DiscussIt is a Reddit clone web application that allows users to engage in discussions on various topics, post content, upvote/downvote posts and comments, and much more. It is built upon the initial design of Reddit, providing a familiar Reddit-like experience while adding some unique features of its own.
-
User Authentication: Secure user registration and login system.
-
Comment System: Engage in discussions by posting and replying to comments.
-
Subreddits: Organize content into categories, just like subreddits on Reddit.
-
User Profiles: View user profiles and their post history.
-
Responsive Design: Enjoy a seamless experience on both desktop and mobile devices.
These instructions will help you set up the DiscussIt project on your local machine for development and testing purposes.
Before you begin, make sure you have the following installed:
-
Clone the repository:
git clone https://github.com/AnurajBhaskar47/discussit.git
-
Navigate to the project directory: ```bash cd discussit
-
Install the project dependencies:
npm install
-
Set up your Prisma environment:
-
Make sure you have Prisma installed globally:
npm install -g prisma
-
Initialize your Prisma project:
prisma init
- Follow the prompts to set up your Prisma environment, choosing the appropriate database (e.g., PostgreSQL, MySQL, SQLite).
- Update the DATABASE_URL in your .env file with the connection URL generated by Prisma.
-
Make sure you have Prisma installed globally:
-
Start the application:
npm start
-
Access DiscussIt in your browser at http://localhost:3000.
If you have any questions or suggestions, feel free to contact me at [email protected]