{"id":22752828,"url":"https://github.com/wastech/stack-overflow-clone","last_synced_at":"2025-04-14T15:14:06.087Z","repository":{"id":166074240,"uuid":"478862282","full_name":"wastech/stack-overflow-clone","owner":"wastech","description":"The API provided is a replica of Stack Overflow, designed to assist users in finding timely and relevant answers to their questions. It is developed using a technology stack comprising MongoDB, Express, Node.js, and Mongoose, known as the MEVN stack. ","archived":false,"fork":false,"pushed_at":"2024-09-13T18:54:05.000Z","size":288,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-14T15:13:58.142Z","etag":null,"topics":["backend-api","bcryptjs","clone-app","dotenv","express-validator","expressjs","jwt","jwt-authentication","mongodb","mongoose","mongoosejs","morgan-middleware","nodejs","nodemailer","passportjs","stackoverflow"],"latest_commit_sha":null,"homepage":"https://stackoverflowapp-wastech.vercel.app/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/wastech.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-04-07T06:51:48.000Z","updated_at":"2024-09-13T18:54:08.000Z","dependencies_parsed_at":null,"dependency_job_id":"6d1e1326-8cf2-4f7e-9dc7-65fcd36ceedd","html_url":"https://github.com/wastech/stack-overflow-clone","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wastech%2Fstack-overflow-clone","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wastech%2Fstack-overflow-clone/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wastech%2Fstack-overflow-clone/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wastech%2Fstack-overflow-clone/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wastech","download_url":"https://codeload.github.com/wastech/stack-overflow-clone/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248904637,"owners_count":21180835,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["backend-api","bcryptjs","clone-app","dotenv","express-validator","expressjs","jwt","jwt-authentication","mongodb","mongoose","mongoosejs","morgan-middleware","nodejs","nodemailer","passportjs","stackoverflow"],"created_at":"2024-12-11T06:07:50.412Z","updated_at":"2025-04-14T15:14:06.062Z","avatar_url":"https://github.com/wastech.png","language":"JavaScript","readme":"# stack-overflow-api-clone\n\u003eThe API provided is a replica of Stack Overflow, designed to assist users in finding timely and relevant answers to their questions. It is developed using a technology stack comprising MongoDB, Express, Vue.js,Node.js, and Mongoose, known as the MEVN stack. This combination of technologies enables efficient data storage and retrieval, seamless communication between the client and server, and easy management of the API's functionality.\n\n![st1](https://user-images.githubusercontent.com/56930241/167307506-9ee770ec-a869-43c2-a468-cb439819469a.png)\n\n\n![st2](https://user-images.githubusercontent.com/56930241/167307272-4356d782-10cf-45c7-99a1-0da1288833ec.png)\n![st3](https://user-images.githubusercontent.com/56930241/167307275-49abe8ba-43a5-4855-998e-c1ccdd9311bc.png)\n![st4](https://user-images.githubusercontent.com/56930241/167307276-691ddc17-3aa5-4b64-98ab-669e86db1616.png)\n![st5](https://user-images.githubusercontent.com/56930241/167307280-9547a67b-dc7a-49ef-a81e-66e88da7d6a5.png)\ne-430171df01fe.png)\n\n)\n\n\n\n#### Features\n\u003eCRUD (Create, Read, Update And Delete)\u003e\n* Authentication with JWT (Reset Password with email) \n    - Login \n    - Register\n    - Forgot Password\n* API Security (NoSQL Injections, XSS Attacks, http param pollution etc)\n* Ask Question\n* View Questions\n* Upvote or downvote question\n* Answer Question\n* Search (Questions,Tags, Answers and Users)\n\n\n### Stack\n\n  * NodeJS\n  * Authentication with jsonwebtoken\n  * MongoDB\n  * ExpressJS \n  * Mongoose\n\n### Configuration File\n\nRename the config/.env.example to .env, then modify to your environment variables, mongodb uri, set your JWT_SECRET and SMTP variables\n\n```\n    NODE_ENV=development\n    PORT=3000\n    MONGO_URI=YOUR_URL\n    \n    JWT_SECRET=YOUR_SECRET\n    JWT_EXPIRE=30d\n    JWT_COOKIE_EXPIRE=30\n    \n    SMTP_HOST=smtp.mailtrap.io\n    SMTP_PORT=2525\n    SMTP_EMAIL=\n    SMTP_PASSWORD=\n    FROM_EMAIL=noreply@quizapp.com\n    FROM_NAME=wastech\n ```\n \n ### HTTP Requests\n All API requests are made by sending a secure HTTPS request using the GET, POST, PUT methods to work with the 3 resource\n * Users\n * Questions\n * Answers\n * Comments\n * Tag\n\n### Installation\nInstall all npm dependecies\n\n```npm install```\n\nInstall nodemon globally\n\n```npm install -g nodemon```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwastech%2Fstack-overflow-clone","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwastech%2Fstack-overflow-clone","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwastech%2Fstack-overflow-clone/lists"}