{"id":20565406,"url":"https://github.com/muhthoriqas/simple-restful-api","last_synced_at":"2026-04-21T19:06:43.686Z","repository":{"id":234968186,"uuid":"613828693","full_name":"Muhthoriqas/Simple-RESTFul-API","owner":"Muhthoriqas","description":"This is my answer to the ILT-CC-02-AI JavaScript for Server Side Development assignment","archived":false,"fork":false,"pushed_at":"2023-03-20T14:07:20.000Z","size":34,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-16T19:48:50.620Z","etag":null,"topics":["learn-resful-api","rest-api","restful-api","simpel-api","simpel-restful-api"],"latest_commit_sha":null,"homepage":"","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/Muhthoriqas.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2023-03-14T10:59:16.000Z","updated_at":"2023-03-14T12:37:58.000Z","dependencies_parsed_at":null,"dependency_job_id":"a07e1d38-af8c-4a5c-8147-d472d9baef01","html_url":"https://github.com/Muhthoriqas/Simple-RESTFul-API","commit_stats":null,"previous_names":["muhthoriqas/simple-restful-api"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Muhthoriqas%2FSimple-RESTFul-API","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Muhthoriqas%2FSimple-RESTFul-API/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Muhthoriqas%2FSimple-RESTFul-API/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Muhthoriqas%2FSimple-RESTFul-API/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Muhthoriqas","download_url":"https://codeload.github.com/Muhthoriqas/Simple-RESTFul-API/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242175592,"owners_count":20084427,"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":["learn-resful-api","rest-api","restful-api","simpel-api","simpel-restful-api"],"created_at":"2024-11-16T04:34:45.920Z","updated_at":"2026-04-21T19:06:38.642Z","avatar_url":"https://github.com/Muhthoriqas.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# ILT Cloud 2 Bangkit Assigment\n\n## Answer Demo Video\nhttps://user-images.githubusercontent.com/72277295/225004548-1dbf3d22-5d08-4b74-a29a-b44890fe2b2b.mp4\n\n\n## Task\nCreate the simple RESTFul API using Node.js Natively and Hapi Framework with the specification:\n\n| Method | Path          | Response Code | Body | Description         |\n| ------ |---------------| ------------- | ---- |---------------------|\n| POST   | /contacts     | 201 | JSON | Create new contacts |\n| GET    | /contacts     | 200 | JSON | List of contacts    |\n| DELETE | /contacts/:id | 200 | JSON | Delete contacts     |\n\nUser data structure:\n\n```json\n{\n  \"id\": \"1\",\n  \"name\": \"John Doe\",\n  \"email\": \"john@example.com\",\n  \"phone\": \"1234567890\"\n}\n```\nServer options:\n - `port`: 3000\n - `host`: localhost\n\n## Usage\n\n1. To use any of the scripts in this repository, clone this repostory:\n\n    ```git clone https://github.com/Muhthoriqas/Simple-RESTFul-API.git ```\n\n2. Go to Simple-RESTFul-API Folder\n    ```cd Simple-RESTFul-API ```\n    \n3.  Go to native, or hapi, or express folder\n    ```cd native ```\n    \n4. Run Server\n    ``` npm start ```\n\n## Contributing\nIf you have any Bash scripts that you would like to share or any improvements to suggest, feel free to contribute to this repository! Fork the repository, make your changes, and submit a pull request.\n\n## License\nThis repository is licensed under the MIT License. See the LICENSE file for more information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmuhthoriqas%2Fsimple-restful-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmuhthoriqas%2Fsimple-restful-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmuhthoriqas%2Fsimple-restful-api/lists"}