We want to connect the people who have knowledge to the people who need it.
As a team of 5 developers, we built this Q&A portal to help other developers gain and share insights into a problem.
- Front-end Framework:
React.js (with Redux)
- Styling:
Tailwind CSS
- For handling server requests:
Node.js with Express.js Framework
- As Database:
MongoDB
- API tested using:
POSTMAN
- Authentication:
JWT
This application requires Node.js
-
Clone the project
git clone https://github.com/joat28/iitg-stack-overflow
-
Create a
.env
file in/server
folder, and setup Environment Variables. -
Run these commands then -
npm install cd client npm install
-
To start the client and the server
node server/index.js cd client npm start
NOTE: Might take sometime to start as there will be 2 servers running.
To run this project, you will need to add the following environment variables to your .env file
PORT
, DB_URI
, JWT_SECRET_TOKEN
http://localhost:5000/api
POST /login
POST /register
DELETE /logout
GET /users
GET /user/:user_id
PATCH /user/:user_id
PATCH /answer/:answer_id
PATCH /answer/vote/:answer_id
DELETE /answer/:answer_id
DELETE /posts/answers/:id
GET /question
GET /question/:question_id
GET /question/top
GET /question/topTags
GET /question/answers/:question_id
POST /question/answers/:question_id
POST /question/ask
POST /question/tags/:pathname
PATCH /question/:question_id
PATCH /question/vote/:question_id
DELETE /question/:question_id
- Axios
- Redux
- React Markdown
- MongoDB Atlas
- Mongoose
- Tailwind
- Nodemon
- Moment
- Dice Bear
- React Syntax Highlighter
Free Software, Hell Yeah!