Clone project of a famous Q/A website for developers which is stackoverflow built using MySQL-Express-React-Node :globe_with_meridians:
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.
:new: New Update: newly added features are mentioned in issue(#15)
React.js (with Redux)
SASSand
BOOTSTRAP
Node.js with Express.js Framework
MySQL
POSTMAN
C#
Microsoft SQL Server
.NETas well
Contributing.md
.envfile and the format should be as given in
.env.example.
Run these commands then - ``` npm run installDep (To install all the dependencies)
npm run auditDep (Run this to audit fix all the vulnerabilities) ```
Run
databaseConfig.sqlfile in the mysql client
source /databaseConfig.sql
(Optional) Run
seed.sqlfile in the mysql client for seed data
source /seed.sqlNote: Change the database name in
databaseConfig.sql&
seed.sqlunder
USEcommand
Start the servers ``` Option 1 (for running both the servers simultaneously):
npm run dev
Option 2 (for running both the servers individually):
npm run server (for backend server only)
npm run client (for frontend server only) ``` NOTE: Might take sometime to start as there will be 2 servers running.
http://localhost:5000/api
GET /auth
POST /auth
POST /users/:id
GET /users
GET /users/:id
GET /posts
GET /posts/top
GET /posts/tag/:tagname
GET /posts/:id
POST /posts/
DELETE /posts/:id
GET /posts/answers/:id
POST /posts/answers/:id
DELETE /posts/answers/:id
GET /posts/comments/:id
POST /posts/comments/:id
DELETE /posts/comments/:id
GET /tags
GET /tags/:tag_name
Sequelizewith
MySQLin the
API.
Video Last Updated on 18th July, 2020