{"id":23900767,"url":"https://github.com/sksmagr23/codeexchange","last_synced_at":"2026-04-10T00:03:37.791Z","repository":{"id":247759066,"uuid":"824834262","full_name":"sksmagr23/CodeExchange","owner":"sksmagr23","description":null,"archived":false,"fork":false,"pushed_at":"2025-06-07T17:25:34.000Z","size":3138,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-21T12:37:30.408Z","etag":null,"topics":["expressjs","javascript","mongodb","nodejs","stackoverflow"],"latest_commit_sha":null,"homepage":"https://codeexchange-3s2g.onrender.com","language":"EJS","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sksmagr23.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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,"zenodo":null}},"created_at":"2024-07-06T04:40:39.000Z","updated_at":"2025-06-07T17:25:39.000Z","dependencies_parsed_at":"2025-01-04T20:38:08.163Z","dependency_job_id":"8488b38a-8a2a-431d-b0d0-0c8430d5fc0a","html_url":"https://github.com/sksmagr23/CodeExchange","commit_stats":null,"previous_names":["sksmagr23/codeexchange"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/sksmagr23/CodeExchange","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sksmagr23%2FCodeExchange","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sksmagr23%2FCodeExchange/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sksmagr23%2FCodeExchange/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sksmagr23%2FCodeExchange/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sksmagr23","download_url":"https://codeload.github.com/sksmagr23/CodeExchange/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sksmagr23%2FCodeExchange/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266278376,"owners_count":23904041,"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":["expressjs","javascript","mongodb","nodejs","stackoverflow"],"created_at":"2025-01-04T20:38:03.938Z","updated_at":"2025-12-30T19:54:50.618Z","avatar_url":"https://github.com/sksmagr23.png","language":"EJS","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CodeExchange\n\nA simplified web application that replicates core functionalities of Stack Overflow. This project is built using Node.js and MongoDB, with a EJS based frontend styled using Tailwind CSS.\n\n## Features\n\n- User authentication with Google and Email/password\n- Question and answer management\n- Basic user profiles with personal asked questions and answer given\n- User can ask questions, answer others questions, delete their own questions and answers and edit their responses(CRUD)\n- List all questions and view details of each question\n- ```Stack Overflow API integration``` - search and display questions and answers from Stack Overflow\n- Tailwind CSS for styling\n- Dark/Light theme toggle with persistent user preference\n- Markdown support for questions\n\n## Tech Stack\n\n- *Frontend*: EJS, Tailwind CSS\n- *Backend*: Node.js, Express.js, Mongoose\n- *Database*: MongoDB\n- *External API*: Stack Exchange API (for Stack Overflow integration)\n\n## Installation and setup\n\n1. *Clone the repository*:\n   ```bash\n   git clone https://github.com/sksmagr23/CodeExchange.git\n   cd CodeExchange\n   ```\n1. *Install dependencies*:\n   ```bash\n   npm install\n   ```\n1. *Create a .env file in root directory and set up environment variables*:\n   ```Env\n   MONGO_URL=\n   JWT_SECRET=\n   SESSION_SECRET=\n   GOOGLE_CLIENT_ID=\n   GOOGLE_CLIENT_SECRET=\n   ```\n   \u003e get o auth credentials from google cloud console\n1. *Start the server*:\n   ```bash\n   npm run dev\n   # The server should now be running at 'http://localhost:3000'\n   ```         ","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsksmagr23%2Fcodeexchange","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsksmagr23%2Fcodeexchange","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsksmagr23%2Fcodeexchange/lists"}