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:
SASSandBOOTSTRAP
- 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 .NETas well
- Go to
Contributing.md
- Create a
.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 clientsource <file path>/data/databaseConfig.sql - (Optional) Run
seed.sqlfile in the mysql client for seed dataNote: Change the database name insource <file path>/data/seed.sqldatabaseConfig.sql&seed.sqlunderUSEcommand - 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 /authPOST /authPOST /users/:idGET /usersGET /users/:id
GET /postsGET /posts/topGET /posts/tag/:tagnameGET /posts/:idPOST /posts/DELETE /posts/:id
GET /posts/answers/:idPOST /posts/answers/:idDELETE /posts/answers/:id
GET /posts/comments/:idPOST /posts/comments/:idDELETE /posts/comments/:id
GET /tagsGET /tags/:tag_name
- Setup
SequelizewithMySQLin theAPI. - Deploy the database to cloud, API, and client-side.
VIDEO - Watch the video
Video Last Updated on 22nd March, 2020











