{"id":22680154,"url":"https://github.com/coderooz/rest-api","last_synced_at":"2025-08-03T04:40:56.215Z","repository":{"id":248872958,"uuid":"830040860","full_name":"coderooz/rest-api","owner":"coderooz","description":"This is a Node.js RESTful API using Express and MongoDB.","archived":false,"fork":false,"pushed_at":"2025-01-16T07:07:08.000Z","size":23,"stargazers_count":0,"open_issues_count":4,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-29T13:51:43.315Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/coderooz.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","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-17T13:30:05.000Z","updated_at":"2024-07-17T13:30:48.000Z","dependencies_parsed_at":"2024-07-17T16:35:58.626Z","dependency_job_id":"afca2914-3011-4693-8cb2-abb5afacd945","html_url":"https://github.com/coderooz/rest-api","commit_stats":null,"previous_names":["coderooz/rest-api"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/coderooz/rest-api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coderooz%2Frest-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coderooz%2Frest-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coderooz%2Frest-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coderooz%2Frest-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/coderooz","download_url":"https://codeload.github.com/coderooz/rest-api/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coderooz%2Frest-api/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268495926,"owners_count":24259401,"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-08-03T02:00:12.545Z","response_time":2577,"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":[],"created_at":"2024-12-09T19:12:34.384Z","updated_at":"2025-08-03T04:40:56.165Z","avatar_url":"https://github.com/coderooz.png","language":"JavaScript","readme":"# RESTful API with Express and MongoDB\r\n\r\nThis is a Node.js RESTful API using Express and MongoDB.\r\n\r\n## Getting Started\r\n\r\nThese instructions will get you a copy of the project up and running on your local machine for development and testing purposes.\r\n\r\n### Prerequisites\r\n\r\nYou need to have Node.js, npm, and MongoDB installed on your local machine.\r\n\r\n- [Node.js](https://nodejs.org/)\r\n- [npm](https://www.npmjs.com/)\r\n- [MongoDB](https://www.mongodb.com/)\r\n\r\n### Installing\r\n\r\n1. Clone the repository:\r\n   ```bash\r\n   git clone https://github.com/coderooz/rest-api.git\r\n   cd rest-api\r\n   ```\r\n\r\n2. Install the dependencies:\r\n   ```bash\r\n   npm install express mongoose body-parser\r\n   ```\r\n\r\n3. Start MongoDB:\r\n   ```bash\r\n   mongod\r\n   ```\r\n\r\n4. Start the server:\r\n   ```bash\r\n   node index.js\r\n   ```\r\n\r\n5. The API will be available at `http://localhost:3000`.\r\n\r\n### API Endpoints\r\n\r\n- `GET /api/items` - Retrieve all items\r\n- `POST /api/items` - Create a new item\r\n- `PUT /api/items/:id` - Update an item by ID\r\n- `DELETE /api/items/:id` - Delete an item by ID\r\n\r\n### Built With\r\n\r\n- [Express](https://expressjs.com/) - The web framework used\r\n- [Mongoose](https://mongoosejs.com/) - MongoDB object modeling tool\r\n- [Body-parser](https://www.npmjs.com/package/body-parser) - Node.js body parsing middleware\r\n\r\n### Contributing\r\n\r\nPlease read [CONTRIBUTING.md](CONTRIBUTING.md) for details on our code of conduct, and the process for submitting pull requests to us.\r\n\r\n### Authors\r\n\r\n- **Ranit Saha** - *Initial work* - [coderooz](https://github.com/coderooz)\r\n\r\n### License\r\n\r\nThis project is licensed under the MIT License - see the [LICENSE.md](LICENSE.md) file for details\r\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoderooz%2Frest-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcoderooz%2Frest-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoderooz%2Frest-api/lists"}