{"id":22680160,"url":"https://github.com/coderooz/restful-api","last_synced_at":"2025-03-29T13:43:21.019Z","repository":{"id":248799036,"uuid":"829814420","full_name":"coderooz/restful-api","owner":"coderooz","description":"This project will create a basic RESTful API for user management with CRUD operations (Create, Read, Update, Delete) using Node.js, Express, and a simple in-memory data store (you can replace this with a database like MongoDB for more advanced use).","archived":false,"fork":false,"pushed_at":"2025-01-04T06:38:07.000Z","size":21,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-04T14:36:16.684Z","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-17T03:49:22.000Z","updated_at":"2024-07-17T04:06:19.000Z","dependencies_parsed_at":"2024-07-17T06:53:04.882Z","dependency_job_id":null,"html_url":"https://github.com/coderooz/restful-api","commit_stats":null,"previous_names":["coderooz/restful-api"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coderooz%2Frestful-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coderooz%2Frestful-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coderooz%2Frestful-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coderooz%2Frestful-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/coderooz","download_url":"https://codeload.github.com/coderooz/restful-api/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246193156,"owners_count":20738450,"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-09T19:12:34.477Z","updated_at":"2025-03-29T13:43:20.994Z","avatar_url":"https://github.com/coderooz.png","language":"JavaScript","readme":"# RESTful API\r\n\r\nThis is a simple RESTful API for user management with CRUD operations using Node.js and Express.\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 and npm installed on your local machine.\r\n\r\n- [Node.js](https://nodejs.org/)\r\n- [npm](https://www.npmjs.com/)\r\n\r\n### Installing\r\n\r\n1. Clone the repository:\r\n   ```bash\r\n   git clone https://github.com/coderooz/restful-api.git\r\n   cd restful-api\r\n   ```\r\n\r\n2. Install the dependencies:\r\n   ```bash\r\n   npm install express body-parser\r\n   ```\r\n\r\n3. Start the server:\r\n   ```bash\r\n   node index.js\r\n   ```\r\n\r\n### API Endpoints\r\n\r\n- **Create a new user**\r\n  - `POST /users`\r\n  - Request body: `{ \"name\": \"John Doe\", \"email\": \"john.doe@example.com\" }`\r\n\r\n- **Get all users**\r\n  - `GET /users`\r\n\r\n- **Get a user by ID**\r\n  - `GET /users/:id`\r\n\r\n- **Update a user by ID**\r\n  - `PUT /users/:id`\r\n  - Request body: `{ \"name\": \"Jane Doe\", \"email\": \"jane.doe@example.com\" }`\r\n\r\n- **Delete a user by ID**\r\n  - `DELETE /users/:id`\r\n\r\n### Usage\r\n\r\nUse a tool like Postman or cURL to interact with the API endpoints.\r\n\r\n### Built With\r\n\r\n- [Express](https://expressjs.com/) - The web framework used\r\n- [body-parser](https://www.npmjs.com/package/body-parser) - Middleware to parse request bodies\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### Versioning\r\n\r\nWe use [SemVer](http://semver.org/) for versioning. For the versions available, see the [tags on this repository](https://github.com/your-username/restful-api/tags).\r\n\r\n### Authors\r\n\r\n- **Ranit Saha** - [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%2Frestful-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcoderooz%2Frestful-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoderooz%2Frestful-api/lists"}