{"id":23260459,"url":"https://github.com/asfer-dev/full-stack-test-backend","last_synced_at":"2025-06-30T10:06:37.419Z","repository":{"id":265950815,"uuid":"896882984","full_name":"Asfer-dev/full-stack-test-backend","owner":"Asfer-dev","description":null,"archived":false,"fork":false,"pushed_at":"2024-12-02T07:37:55.000Z","size":10,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-06T05:33:04.359Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/Asfer-dev.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-12-01T14:40:55.000Z","updated_at":"2024-12-02T07:37:59.000Z","dependencies_parsed_at":"2025-04-06T05:27:33.365Z","dependency_job_id":"9bc8de45-b41f-43c8-b76f-34d4bae21397","html_url":"https://github.com/Asfer-dev/full-stack-test-backend","commit_stats":null,"previous_names":["asfer-dev/full-stack-test-backend"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Asfer-dev/full-stack-test-backend","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Asfer-dev%2Ffull-stack-test-backend","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Asfer-dev%2Ffull-stack-test-backend/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Asfer-dev%2Ffull-stack-test-backend/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Asfer-dev%2Ffull-stack-test-backend/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Asfer-dev","download_url":"https://codeload.github.com/Asfer-dev/full-stack-test-backend/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Asfer-dev%2Ffull-stack-test-backend/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262753173,"owners_count":23358883,"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":[],"created_at":"2024-12-19T13:17:02.417Z","updated_at":"2025-06-30T10:06:37.391Z","avatar_url":"https://github.com/Asfer-dev.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Node.js WebSocket and MongoDB Server\n\nThis is a Node.js server that integrates WebSocket functionality, MongoDB for database storage, and RESTful API endpoints for managing submissions. The server is built with Express and uses Mongoose for interacting with MongoDB.\n\n## Features\n\n- WebSocket server for real-time communication\n- RESTful API to handle CRUD operations for submissions\n- MongoDB integration for storing and retrieving data\n- Middleware for handling CORS and JSON requests\n\n## Prerequisites\n\nEnsure you have the following installed:\n\n- [Node.js](https://nodejs.org/) (v14.18.0 or higher)\n- [MongoDB](https://www.mongodb.com/)\n- [npm](https://www.npmjs.com/) or [Yarn](https://yarnpkg.com/)\n\n## Getting Started\n\n### 1. Clone the Repository\n\nClone this repository to your local machine:\n\n```bash\ngit clone https://github.com/Asfer-dev/full-stack-test-backend.git\ncd full-stack-test-backend\n```\n\n### 2. Install Dependencies\n\nInstall the required dependencies:\n\n```bash\nnpm install\n```\n\n### 3. Set Up Environment Variables\n\nCreate a .env file in the root directory and add your MongoDB connection string:\n\n```env\nMONGO_URI=your_mongo_connection_string\nPORT=5000\n```\n\n### 4. Start the Server\n\nStart the server:\n\n```bash\nnpm start\n```\n\nThe server will start and listen on the port defined in your .env file or default to 5000.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fasfer-dev%2Ffull-stack-test-backend","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fasfer-dev%2Ffull-stack-test-backend","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fasfer-dev%2Ffull-stack-test-backend/lists"}