{"id":24990716,"url":"https://github.com/alym62/rest-go","last_synced_at":"2026-04-18T06:31:57.293Z","repository":{"id":239349437,"uuid":"797447212","full_name":"Alym62/rest-go","owner":"Alym62","description":"REST API com Go, Gin e Gorm","archived":false,"fork":false,"pushed_at":"2024-05-11T16:30:56.000Z","size":28,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-29T12:47:04.305Z","etag":null,"topics":["docker","gin-gonic","go","gorm-orm","postgresql","swagger"],"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/Alym62.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":"2024-05-07T21:13:44.000Z","updated_at":"2024-05-12T00:41:31.000Z","dependencies_parsed_at":"2024-05-11T18:50:11.701Z","dependency_job_id":null,"html_url":"https://github.com/Alym62/rest-go","commit_stats":null,"previous_names":["alym62/rest-go"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Alym62/rest-go","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Alym62%2Frest-go","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Alym62%2Frest-go/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Alym62%2Frest-go/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Alym62%2Frest-go/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Alym62","download_url":"https://codeload.github.com/Alym62/rest-go/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Alym62%2Frest-go/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31959873,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-18T00:39:45.007Z","status":"online","status_checked_at":"2026-04-18T02:00:07.018Z","response_time":103,"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","gin-gonic","go","gorm-orm","postgresql","swagger"],"created_at":"2025-02-04T13:38:29.321Z","updated_at":"2026-04-18T06:31:57.250Z","avatar_url":"https://github.com/Alym62.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# API com Go\n\nEsse é um projeto de uma API desenvolvida com Go utilizando as seguintes ferramentas:\n- \u003ca href=\"https://gin-gonic.com\"\u003e***Go-Gin***\u003c/a\u003e\n- \u003ca href=\"https://gorm.io/index.html\"\u003e***Go-Gorm***\u003c/a\u003e\n- \u003ca href=\"https://github.com/swaggo/swag\"\u003e***Swaggo***\u003c/a\u003e\n\nEssa aplicação conta com uma API REST com os métodos GET, POST, PUT e DELETE, conexão com banco de dados, documentação e para o ambiente de desenvolvimento e prod foi usado o Docker.\n\n![logo go](https://go.dev/images/gophers/ladder.svg)\n\n## Como fazer deploy da aplicação\n\nPrimeiro de tudo é preciso fazer um clone do projeto com o comando abaixo:\n```github\n  git clone https://github.com/Alym62/rest-go.git \n```\n\nLogo após basta entrar no diretório do projeto e realizar o seguinte comando para realizar o deploy. Esse comando vai subir a imagem da aplicação juntamente ao banco de dados que ele precisa se conectar:\n```docker\n  docker-compose up\n```\n\n#### Ambiente de desenvolvimento\n\nPara rodar a aplicação em ambiente de desenvolvimento, basta entrar dentro do diretório ***📂 ./db/*** lá você encontra a configuração e a imagem do banco de dados utilizado na aplicação. depois disso basta voltar para o ***root*** e rodar o comando abaixo:\n```go\n  go run main.go\n```\n\n## Stack utilizada\n\n[![My Skills](https://skillicons.dev/icons?i=go,postgres,docker\u0026perline=3)](https://skillicons.dev)\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falym62%2Frest-go","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falym62%2Frest-go","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falym62%2Frest-go/lists"}