{"id":18275080,"url":"https://github.com/the-arcade-01/go-api","last_synced_at":"2026-04-30T08:39:02.217Z","repository":{"id":192363603,"uuid":"685885078","full_name":"the-arcade-01/go-api","owner":"the-arcade-01","description":"basic go api using go-chi, mysql, docker","archived":false,"fork":false,"pushed_at":"2023-12-17T17:11:22.000Z","size":6,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-29T12:49:24.209Z","etag":null,"topics":["docker","docker-compose","go","go-chi","mysql"],"latest_commit_sha":null,"homepage":"","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/the-arcade-01.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":"2023-09-01T08:27:35.000Z","updated_at":"2023-12-03T16:49:00.000Z","dependencies_parsed_at":"2023-09-04T12:46:16.402Z","dependency_job_id":"8fee5a87-14ec-4a64-8f1f-c7cdf55c77d7","html_url":"https://github.com/the-arcade-01/go-api","commit_stats":null,"previous_names":["the-arcade-01/go-api"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/the-arcade-01/go-api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/the-arcade-01%2Fgo-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/the-arcade-01%2Fgo-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/the-arcade-01%2Fgo-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/the-arcade-01%2Fgo-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/the-arcade-01","download_url":"https://codeload.github.com/the-arcade-01/go-api/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/the-arcade-01%2Fgo-api/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32459420,"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":["docker","docker-compose","go","go-chi","mysql"],"created_at":"2024-11-05T12:11:51.826Z","updated_at":"2026-04-30T08:39:02.190Z","avatar_url":"https://github.com/the-arcade-01.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"## go-api-docker-example\n\n### Docker commands\n\n```bash\ndocker compose build\ndocker compose up\n```\n\n### Env file\n\n```bash\nPORT=:5000\nDATABASE_URL=\u003cuser\u003e:\u003cpassword\u003e@tcp(\u003cmysql-container\u003e:3306)/\u003cdatabase\u003e?parseTime=true\nDB_DRIVER=mysql\nMYSQL_RANDOM_ROOT_PASSWORD=\u003cpassword\u003e\nMYSQL_DATABASE=\u003cdatabase\u003e\nMYSQL_USER=\u003cuser\u003e\nMYSQL_PASSWORD=\u003cpassword\u003e\n```\n\n### API commands\n\n1. Fetching todos from DB\n\n```bash\ncurl -X GET 'http://localhost:5000/todos'\n```\n\n2. Inserting todos in DB\n\n```bash\ncurl -X POST 'http://localhost:5000/todos' -d '{\"task\": \"Learn Go\", \"completed\": false}'\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthe-arcade-01%2Fgo-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthe-arcade-01%2Fgo-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthe-arcade-01%2Fgo-api/lists"}