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 Update: newly added features are mentioned in issue(#15)
- Front-end Framework:
React.js (with Redux)
- Styling:
SASS
andBOOTSTRAP
- For handling server requests:
Node.js with Express.js Framework
- As Database:
MySQL
- API tested using:
POSTMAN
- For handling server requests:
C#
- As Database:
Microsoft SQL Server
.NET
as well
- Go to
Contributing.md
- Create a
.env
file 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.sql
file in the mysql clientsource <file path>/databaseConfig.sql
- (Optional) Run
seed.sql
file in the mysql client for seed dataNote: Change the database name insource <file path>/seed.sql
databaseConfig.sql
&seed.sql
underUSE
command - 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.
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
- Setup
Sequelize
withMySQL
in theAPI
. - Deploy the database to cloud, API, and client-side.
VIDEO - Watch the video
Video Last Updated on 18th July, 2020