Skip to content

Rushikesh-Thorat/stachoverflow-clone-mern

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SolutionBox - StackOverflow Clone (MERN)

This is a full-stack web application inspired by Stack Overflow built using the MERN stack:

  • MongoDB for the database
  • Express.js and Node.js for the backend API
  • React.js for the frontend

🚀 Features

  • User authentication and registration
  • Ask and answer questions
  • Upvote, downvote, and comment on answers
  • Tag-based question categorization
  • User profile and reputation system

📁 Project Structure

root/
│
├── client/              # React frontend
│
├── server/              # Express backend with mongoDB
│
└── README.md

🛠️ Setup Instructions

1. Clone the Repository

git clone https://github.com/Rushikesh-Thorat/stachoverflow-clone-mern.git

cd stachoverflow-clone-mern

2. Install Dependencies

Server (Backend)

cd server
npm install
npm install jsonwebtoken
npm install mongoose

Client (Frontend)

cd ../client
npm install

🔧 Environment Variables

Create a .env file in the server.

Example .env for server:

PORT=5000
MONGO_URI=your_mongodb_connection_string
JWT_SECRET=your_jwt_secret

🧪 Run the App Locally

Run Backend

cd server
npm start

Run Frontend

In a new terminal:

cd client
npm start

Open your browser and go to http://localhost:3000


✅ Tech Stack

  • MongoDB
  • Express.js
  • React.js
  • Node.js
  • Redux Toolkit

🎥Click To Watch Demo Video

Watch on YouTube


📸 Screenshots


About

This is a full-stack web application inspired by Stack Overflow built using the MERN stack:

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published