{"id":18450107,"url":"https://github.com/mathleite/simple-go-api","last_synced_at":"2026-04-30T09:34:45.117Z","repository":{"id":124155742,"uuid":"302780821","full_name":"mathleite/simple-go-api","owner":"mathleite","description":"Simple CRUD api","archived":false,"fork":false,"pushed_at":"2020-10-12T15:35:09.000Z","size":25,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-18T11:41:32.365Z","etag":null,"topics":["api","crud","docker","golang","hacktoberfest","mux"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mathleite.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","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":"2020-10-10T00:26:10.000Z","updated_at":"2021-10-18T11:44:21.000Z","dependencies_parsed_at":null,"dependency_job_id":"31a85223-0ef2-4a27-846f-b2874a4f05b9","html_url":"https://github.com/mathleite/simple-go-api","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/mathleite/simple-go-api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mathleite%2Fsimple-go-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mathleite%2Fsimple-go-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mathleite%2Fsimple-go-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mathleite%2Fsimple-go-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mathleite","download_url":"https://codeload.github.com/mathleite/simple-go-api/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mathleite%2Fsimple-go-api/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32460781,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-29T22:27:22.272Z","status":"online","status_checked_at":"2026-04-30T02:00:05.929Z","response_time":57,"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":["api","crud","docker","golang","hacktoberfest","mux"],"created_at":"2024-11-06T07:23:26.641Z","updated_at":"2026-04-30T09:34:45.099Z","avatar_url":"https://github.com/mathleite.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003eSimple Go Api\u003c/h1\u003e\n\n## Setup\n\nJust **build** docker with:\n```bash\ndocker-compose up --build -d\n```\n\n## Server\n\nTo start:\n* Enter inside `golang` container:\n\t```bash\n\tdocker-compose exec golang bash\n\t```\n* Build and run serve\n\t```go\n\tgo build \u0026\u0026 ./app\n\t```\n\nThe server will be allocate on `http://localhost/api/books`\n\nConfig:\n* Header: `Content-Type application/json`\n\n## How it's works?\n\nYou can use:\n- **POST** to create Books;\n- **GET** to get Books and specific Book by **ID**;\n- **DELETE** to delete Book by **ID**;\n- **PUT** to update Book by **ID**\n\n#### Example\n\n**Create** Book:\n```json\n{\n\t\"isbn\": \"432432\",\n\t\"title\": \"Andorinha\",\n\t\"author\": {\n\t\t\"firstname\": \"Carol\",\n\t\t\"lastname\": \"Williams\"\n\t}\n}\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmathleite%2Fsimple-go-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmathleite%2Fsimple-go-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmathleite%2Fsimple-go-api/lists"}