{"id":18275820,"url":"https://github.com/gr7800/dataneoronassignment","last_synced_at":"2026-04-06T02:32:35.312Z","repository":{"id":231520138,"uuid":"780980539","full_name":"gr7800/DataNeoronAssignment","owner":"gr7800","description":"Data Neuron is an API for managing products with functionalities like adding, updating, deleting, and retrieving products. It also provides endpoint to track API call counts.","archived":false,"fork":false,"pushed_at":"2024-04-04T12:39:46.000Z","size":214,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-01-03T12:11:04.342Z","etag":null,"topics":["body-parser","corse","css","expressjs","html","javascript","mongodb","nodejs","react-icons","react-redux","reactjs","redux","resizable-panels","tailwindcss"],"latest_commit_sha":null,"homepage":"https://dataneuronasignment.netlify.app/","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/gr7800.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}},"created_at":"2024-04-02T14:24:23.000Z","updated_at":"2024-04-04T12:43:57.000Z","dependencies_parsed_at":"2024-04-04T12:57:11.267Z","dependency_job_id":null,"html_url":"https://github.com/gr7800/DataNeoronAssignment","commit_stats":null,"previous_names":["gr7800/dataneoronassignment"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/gr7800/DataNeoronAssignment","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gr7800%2FDataNeoronAssignment","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gr7800%2FDataNeoronAssignment/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gr7800%2FDataNeoronAssignment/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gr7800%2FDataNeoronAssignment/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gr7800","download_url":"https://codeload.github.com/gr7800/DataNeoronAssignment/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gr7800%2FDataNeoronAssignment/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31457614,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-05T21:22:52.476Z","status":"online","status_checked_at":"2026-04-06T02:00:07.287Z","response_time":112,"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":["body-parser","corse","css","expressjs","html","javascript","mongodb","nodejs","react-icons","react-redux","reactjs","redux","resizable-panels","tailwindcss"],"created_at":"2024-11-05T12:14:10.062Z","updated_at":"2026-04-06T02:32:35.296Z","avatar_url":"https://github.com/gr7800.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Data Neuron API\n\nData Neuron is an API for managing products with functionalities like adding, updating, deleting, and retrieving products. It also provides endpoint to track API call counts.\n\n### BaseUrl : https://dataneoron.onrender.com/dataneuron\n\n## Table of Contents\n* Getting Started\n* Prerequisites\n* Installation\n* Usage\n* Endpoints\n* Contributing\n* License\n* Getting Star\n\n### Getting Started\n#### Prerequisites\nBefore running the application, make sure you have the following installed:\n\n* Node.js\n* MongoDB\n\n#### 1. Installation\nClone the repository:\n\n``` git clone \u003crepository-url\u003e ```\n\n#### 2. Install dependencies\n\n```\ncd data-neuron-api\nnpm install\n```\n#### 3. Set up environment variables\n\nCreate a .env file in the root directory and add the following:\n\n```\nPORT=8080\nMONGODB_URI=\u003cyour-mongodb-uri\u003e\n```\n#### 4. Start the server\n\n```\nnpm start\n```\n## Usage\n* Endpoints\n### 1. Add Product\n\n```\nURL: /add\n\nMethod: POST\n\nRequest Body:\n{\n  \"name\": \"Product Name\",\n  \"description\": \"Product Description\",\n  \"price\": 10,\n  \"quantity\": 100\n}\n```\n\n### 2. Update Product\n```\nURL: /dataneuron/update/:id\n\nMethod: PATCH\n\nRequest Body:\n\n{\n  \"name\": \"Updated Product Name\",\n  \"description\": \"Updated Product Description\",\n  \"price\": 15,\n  \"quantity\": 50\n}\n```\n### 3. Get All Products\n```\nURL: /dataneuron/all\nMethod: GET\n```\n\n### 4. Get API Call Count\n```\nURL: /dataneuron/count\nMethod: GET\n```\n### 5. Delete Product\n```\nURL: /dataneuron/delete/:id\nMethod: DELETE\n``` \n\n### 6. Delete All Products\n```\nURL: /dataneuron/deleteall\nMethod: DELETE\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgr7800%2Fdataneoronassignment","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgr7800%2Fdataneoronassignment","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgr7800%2Fdataneoronassignment/lists"}