{"id":22465470,"url":"https://github.com/dhyanio/simple-crud-apis","last_synced_at":"2025-03-27T14:50:28.583Z","repository":{"id":176718557,"uuid":"365571706","full_name":"dhyanio/simple-crud-apis","owner":"dhyanio","description":"Golang simple crud apis","archived":false,"fork":false,"pushed_at":"2021-05-08T17:22:36.000Z","size":1,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-01T19:11:29.230Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","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/dhyanio.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":"2021-05-08T17:19:45.000Z","updated_at":"2021-05-08T17:22:38.000Z","dependencies_parsed_at":null,"dependency_job_id":"9b5b6047-ee30-4751-afe8-0a643b8458a3","html_url":"https://github.com/dhyanio/simple-crud-apis","commit_stats":null,"previous_names":["dhyanio/simple-crud-apis"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dhyanio%2Fsimple-crud-apis","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dhyanio%2Fsimple-crud-apis/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dhyanio%2Fsimple-crud-apis/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dhyanio%2Fsimple-crud-apis/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dhyanio","download_url":"https://codeload.github.com/dhyanio/simple-crud-apis/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245866768,"owners_count":20685498,"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-06T10:08:12.791Z","updated_at":"2025-03-27T14:50:28.559Z","avatar_url":"https://github.com/dhyanio.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"### REST API in Go\n\nSimple CRUD service for managing orders, written in Go.\n\n***\n### Setup and usage\n```\ncd to the project directory\n```\n\n```go\ngo build go-orders-api\n./go-orders-api\n```\n\n\nCreate Order\n```shell\ncurl -H 'Content-Type: application/json' -d '{\"orderedAt\":\"2019-11-09T21:21:46+00:00\",\"customerName\":\"Tom Jerry\",\"items\":[{\"itemId\":\"123\",\"description\":\"IPhone 10X\",\"quantity\":1}]}' -X POST http://localhost:8080/orders\n```\n\nGet Orders\n```shell\ncurl http://localhost:8080/orders\n```\n\nUpdate Order\n```shell\ncurl -H 'Content-Type: application/json' -d '{\"orderId\":\"1\",\"orderedAt\":\"2019-11-09T21:21:46+00:00\",\"items\":[{\"itemId\":\"123\",\"description\":\"IPhone 10X\",\"quantity\":3}]}' -X PUT http://localhost:8080/orders/1\n```\n\nDelete Order\n```shell\ncurl -X DELETE http://localhost:8080/orders/1\n```\n\n***\n### Tutorial\n\nYou can find the tutorial for this application at the [SoberKoder](https://www.soberkoder.com/) blog.\n\nhttps://www.soberkoder.com/go-rest-api-gorilla-mux/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdhyanio%2Fsimple-crud-apis","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdhyanio%2Fsimple-crud-apis","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdhyanio%2Fsimple-crud-apis/lists"}