The stackoverflow task is basic implementation of Stackoverflow.
API Documentation here
API built with Node + Express + MongoDB + Mongoose + Socket.io + Jest.
Written in TypeScript.
Kindly clone the repo ``
Create a .env file in the root directory and add the following properties
PORT=? DATABASE=? JWT_SECRET=? JWT_EXPIRES_IN=? JWT_COOKIE_EXPIRES_IN=?To install the necessary packages, in your root folder directory kindly run
# Install dependencies $ yarn install # Start the app $ yarn start # Run test $ yarn testPOST /users/signupPOST /users/loginGET /users/logout
GET /questionsGET /questions/:idPATCH /questions/:id/up-votePATCH /questions/:id/down-votePOST /questions/:id/replyPOST /questions/:id/subscribe
- Lawrence 😁😁😁