{"id":22031879,"url":"https://github.com/chmuhammadasim/cpp-codequest-mern-stack","last_synced_at":"2026-04-11T01:07:35.584Z","repository":{"id":250142815,"uuid":"833524042","full_name":"chmuhammadasim/Cpp-CodeQuest-MERN-Stack","owner":"chmuhammadasim","description":"CPlusPlusCodeQuest is an educational platform designed to teach basic C++ programming skills through interactive coding challenges and tutorials. Built with the MERN stack, it offers a modern and engaging learning experience.","archived":false,"fork":false,"pushed_at":"2024-07-26T05:37:01.000Z","size":247,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-23T11:43:14.065Z","etag":null,"topics":["mern","mern-project","mern-stack","project"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/chmuhammadasim.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}},"created_at":"2024-07-25T08:24:21.000Z","updated_at":"2024-07-26T05:37:04.000Z","dependencies_parsed_at":"2024-11-30T08:28:13.666Z","dependency_job_id":"9a5b5dd3-fb0e-4657-b267-468131b59691","html_url":"https://github.com/chmuhammadasim/Cpp-CodeQuest-MERN-Stack","commit_stats":null,"previous_names":["chmuhammadasim/cpp-codequest-mern-stack"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/chmuhammadasim/Cpp-CodeQuest-MERN-Stack","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chmuhammadasim%2FCpp-CodeQuest-MERN-Stack","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chmuhammadasim%2FCpp-CodeQuest-MERN-Stack/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chmuhammadasim%2FCpp-CodeQuest-MERN-Stack/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chmuhammadasim%2FCpp-CodeQuest-MERN-Stack/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chmuhammadasim","download_url":"https://codeload.github.com/chmuhammadasim/Cpp-CodeQuest-MERN-Stack/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chmuhammadasim%2FCpp-CodeQuest-MERN-Stack/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266974749,"owners_count":24014993,"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","status":"online","status_checked_at":"2025-07-25T02:00:09.625Z","response_time":70,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["mern","mern-project","mern-stack","project"],"created_at":"2024-11-30T08:24:02.559Z","updated_at":"2026-04-11T01:07:35.548Z","avatar_url":"https://github.com/chmuhammadasim.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CPlusPlusCodeQuest\n\nCPlusPlusCodeQuest is an educational platform designed to teach basic C++ programming skills through interactive coding challenges and tutorials. Built with the MERN stack, it offers a modern and engaging learning experience.\n\n## Features\n\n- **User Authentication**: Secure user registration and login.\n- **Interactive Code Editor**: Write, run, and test C++ code directly in the browser.\n- **Daily/Weekly Challenges**: Regular challenges to help users practice and improve their skills.\n- **Progress Tracking**: Monitor your progress and see how much you've learned.\n- **Dark Mode**: Toggle between light and dark modes for a better user experience.\n- **Notifications**: Get notified about new challenges, achievements, and more.\n\n## Tech Stack\n\n- **Frontend**: React.js, Ace Editor\n- **Backend**: Node.js, Express.js\n- **Database**: MongoDB\n- **Authentication**: JSON Web Tokens (JWT)\n- **Styling**: CSS\n\n## Getting Started\n\n### Prerequisites\n\n- Node.js\n- npm or yarn\n- MongoDB\n\n### Installation\n\n1. Clone the repository:\n\n```bash\ngit clone https://github.com/yourusername/CPlusPlusCodeQuest.git\ncd CPlusPlusCodeQuest\n```\n\n2. Install the dependencies for both the backend and frontend:\n\n```bash\n# Backend\ncd backend\nnpm install\n\n# Frontend\ncd ../frontend\nnpm install\n```\n\n3. Set up environment variables:\n\nCreate a `.env` file in the `backend` directory and add the following:\n\n```\nMONGO_URI=your_mongodb_connection_string\nJWT_SECRET=your_jwt_secret\n```\n\n4. Start the development servers:\n\n```bash\n# Backend\ncd backend\nnpm start\n\n# Frontend\ncd ../frontend\nnpm start\n```\n\nThe backend will run on `http://localhost:5000` and the frontend on `http://localhost:3000`.\n\n## Usage\n\n### User Authentication\n\n- Register a new account or log in with an existing account.\n- Once logged in, you will be redirected to your dashboard.\n\n### Interactive Code Editor\n\n- Navigate to the \"Challenges\" page.\n- Select a challenge to start coding.\n- Write and test your C++ code directly in the browser.\n\n### Dark Mode\n\n- Toggle dark mode from your profile page.\n\n### Notifications\n\n- Check the \"Notifications\" page for updates on new challenges and achievements.\n\n## API Endpoints\n\n### Authentication\n\n- **POST /api/auth/register**: Register a new user.\n- **POST /api/auth/login**: Log in a user.\n\n### User\n\n- **GET /api/users/profile**: Get user profile information.\n- **POST /api/users/darkmode**: Toggle dark mode.\n\n### Challenges\n\n- **GET /api/challenges**: Get a list of challenges.\n- **GET /api/challenges/:id**: Get details of a specific challenge.\n- **POST /api/challenges**: Create a new challenge (admin only).\n- **PUT /api/challenges/:id**: Update a challenge (admin only).\n- **DELETE /api/challenges/:id**: Delete a challenge (admin only).\n\n### Notifications\n\n- **GET /api/notifications**: Get user notifications.\n- **POST /api/notifications/read/:id**: Mark a notification as read.\n\n## Contributing\n\nWe welcome contributions from the community! To contribute:\n\n1. Fork the repository.\n2. Create a new branch for your feature or bug fix.\n3. Make your changes and commit them with a clear message.\n4. Push your changes to your fork and submit a pull request.\n\n## License\n\nThis project is licensed under the MIT License.\n\n## Contact\n\nFor any questions or feedback, feel free to contact us at muhammadasimchattha@gmail.com.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchmuhammadasim%2Fcpp-codequest-mern-stack","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchmuhammadasim%2Fcpp-codequest-mern-stack","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchmuhammadasim%2Fcpp-codequest-mern-stack/lists"}