Mayank0255/Stackoverflow-Clone-Frontend
Mayank0255/Stackoverflow-Clone-Frontend has 565 GitHub stars and 207 forks. GitHot measured 0 stars in 24 hours and 0 in 7 days. Last checked 2026-11-09 04:13 UTC. Last push 2024-01-24.
Clone project of a famous Q/A website for developers built using MySQL, Express, React, Node, Sequelize :globe_with_meridians:
Measured star growth
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- Update delayed
- in 1 month
- Update delayed
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README.md
Original🌐 Website | 📹 Demo Video
API Hosted On
As the name suggests, this project is a clone of a famous Q/A website for professional and enthusiast programmers built solely by me using a completely different stack.
This repo consists of the Frontend code of the project, the backend code is in Stackoverflow-Clone-Backend
My Tech Stack (MERN)
Front-end
- Front-end Framework:
React.js (with Redux) - Styling:
SASSandBOOTSTRAP
Back-end
- For handling index requests:
Node.js with Express.js Framework - As Database:
MySQL with Sequelize - API tested using:
POSTMAN
Guidelines to setup
There are two ways to setup the project: manually or using the Dockerfile. Read below for more details:
Manual Setup
Open your local CLI -
mkdir Stackoverflow-Clone cd Stackoverflow-CloneSetup the backend code -
NOTE: For Frontend Developers, if they dont want to setup the Backend Code, they can skip the Step 2, and make sure they follow the optional step mentioned in Step 4
Create a
.envfile and the format should be as given in.env.example.Clone the code & install the modules-
git clone https://github.com/Mayank0255/Stackoverflow-Clone-Backend.git cd Stackoverflow-Clone-Backend npm installOpen your MySQL Client -
CREATE DATABASE stack_overflow;NOTE: Don't forget to keep the database name same in the
.envand here.Run the index
npm start.
Open a new CLI terminal and goto the root
Stackoverflow-Clonefolder you created in the first step.Setup the Frontend code -
Clone the code & install the modules-
git clone https://github.com/Mayank0255/Stackoverflow-Clone-Frontend.git cd Stackoverflow-Clone-Frontend npm installRun the client index
npm start.
OPTIONAL (Recommended For Frontend Developers): Can just change the path here to this
https://stackoverflow-clone-backend.herokuapp.comNow, it will hit PROD
Let me know if you are interested and would want me to assign it to you
Docker Setup
The back-end has support for Docker. So if you want to run the back-end in a container, you need do:
Setup environment variables in
.envfile. Note when you use Docker setup and run the database in localhost (host machine), you need to setup the environment variables for use correct IP of MySQL Database. Please, read here and here for more details.Build the Docker image:
docker build -t stackoverflowclone .Run the container. For example, if you want to run the container in a new terminal, you can do:
docker run -d -p 5000:5000 stackoverflowclone
The default port of api is 5000. After running the container, you can access the api by typing:
http://localhost:5000/api/<endpoint that you request - see next section>
Follow the steps properly (manual or Docker) and you are good to go.
Contributing
- Go to
Contributing.md
DEMO
VIDEO - Watch the video
Video Last Updated on 7th March, 2022
IMAGES







Explore related projects
freeCodeCamp/freeCodeCamp
freeCodeCamp.org's open-source codebase and curriculum. Learn math, programming, and computer science for free.
458,825 starsdonnemartin/system-design-primer
Learn how to design large-scale systems. Prep for the system design interview. Includes Anki flashcards.
377,452 starsreact/react
The library for web and native user interfaces.
252,461 starsvuejs/vue
This is the repo for Vue 2. For Vue 3, go to https://github.com/vuejs/core
212,625 stars