{"id":18786337,"url":"https://github.com/aaronzi/go-demo-api","last_synced_at":"2025-10-18T19:35:20.407Z","repository":{"id":248359406,"uuid":"828480508","full_name":"aaronzi/go-demo-api","owner":"aaronzi","description":"Demo Web API written in GO including MySQL database connection and CRUD operations","archived":false,"fork":false,"pushed_at":"2025-02-10T17:27:35.000Z","size":8887,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-10T18:31:09.157Z","etag":null,"topics":["api","crud","go","mysql","rest","web"],"latest_commit_sha":null,"homepage":"https://hub.docker.com/r/aaronzi/go-demo-api","language":"Go","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/aaronzi.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":"2024-07-14T09:29:31.000Z","updated_at":"2025-02-10T17:27:31.000Z","dependencies_parsed_at":"2025-01-07T20:42:01.379Z","dependency_job_id":"40625270-6976-4147-82f4-9521fea34334","html_url":"https://github.com/aaronzi/go-demo-api","commit_stats":null,"previous_names":["aaronzi/go-demo-api"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aaronzi%2Fgo-demo-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aaronzi%2Fgo-demo-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aaronzi%2Fgo-demo-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aaronzi%2Fgo-demo-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aaronzi","download_url":"https://codeload.github.com/aaronzi/go-demo-api/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239702937,"owners_count":19683172,"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":["api","crud","go","mysql","rest","web"],"created_at":"2024-11-07T20:51:18.647Z","updated_at":"2025-10-18T19:35:20.287Z","avatar_url":"https://github.com/aaronzi.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Go Demo API\n\n## Getting Started\n\nYou can clone this repository by running the following command:\n\n```bash\ngit clone https://github.com/aaronzi/go-demo-api.git\n```\n\nAfter you cloned the repository, open the folder in vscode.\nIt will automatically detect the devscontainer configuration and ask you to reopen the folder in the container.\nThis also inmcludes the database container.\n\nFrom the debug menu, you can run the API by selecting the `Launch Server` configuration.\n\n## Using the Docker Image\nYou can use the Docker Image from either Docker Hub or GitHub Container Registry.\nYou can find the Docker Image on Docker Hub [here](https://hub.docker.com/r/aaronzi/go-demo-api) and on GitHub Container Registry on the following link [here](https://github.com/aaronzi/go-demo-api/packages).\n\nIn order to run the Docker Image, you should use it together with mysql:latest running in the same docker network or in the same docker-compose file.\n\n## Rebuild the Swagger Documentation\n\nTo build the Swagger documentation, run the following command:\n\n```bash\nswag init -g cmd/movie-api/main.go --parseDependency --parseInternal -o docs\n```\n\nThis will generate the `docs` directory with the Swagger documentation.\n\n\u003e **Note:** You should run this command every time you make changes to the API.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faaronzi%2Fgo-demo-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faaronzi%2Fgo-demo-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faaronzi%2Fgo-demo-api/lists"}