{"id":20030499,"url":"https://github.com/gabrielm3/go-serverless-api","last_synced_at":"2025-09-09T16:37:14.669Z","repository":{"id":158877794,"uuid":"622762289","full_name":"Gabrielm3/go-serverless-api","owner":"Gabrielm3","description":"API REST Serverless em Go com AWS (Gin, Api Gateway, Lambda).","archived":false,"fork":false,"pushed_at":"2023-11-01T04:39:30.000Z","size":9028,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-11-13T09:35:57.090Z","etag":null,"topics":["api-gateway","api-rest","aws-lambda","golang","lambda","makefile","serverless","serverless-framework"],"latest_commit_sha":null,"homepage":"","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/Gabrielm3.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":"2023-04-03T02:27:14.000Z","updated_at":"2023-11-01T17:00:40.000Z","dependencies_parsed_at":null,"dependency_job_id":"ff32216b-659f-4a03-bb41-028c822a705e","html_url":"https://github.com/Gabrielm3/go-serverless-api","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Gabrielm3%2Fgo-serverless-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Gabrielm3%2Fgo-serverless-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Gabrielm3%2Fgo-serverless-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Gabrielm3%2Fgo-serverless-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Gabrielm3","download_url":"https://codeload.github.com/Gabrielm3/go-serverless-api/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":233641281,"owners_count":18707117,"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-gateway","api-rest","aws-lambda","golang","lambda","makefile","serverless","serverless-framework"],"created_at":"2024-11-13T09:26:47.400Z","updated_at":"2025-01-12T17:43:20.444Z","avatar_url":"https://github.com/Gabrielm3.png","language":"Go","readme":"# Go Serverless API\n\nEste é um projeto que demonstra como criar uma API REST Serverless em Go usando a AWS.\n\n\u003cimg src=\"image_api.jpeg\" alt=\"image\" width=\"300\"\u003e\n\nUsando as seguintes tecnologias e bibliotecas:\n\n- [Gin](https://github.com/gin-gonic/gin): Um framework web em Go.\n- [AWS Lambda](https://aws.amazon.com/lambda/): Um serviço de computação serverless da AWS.\n- [AWS API Gateway](https://aws.amazon.com/api-gateway/): Um serviço para criar APIs REST na AWS.\n\n## Estrutura do Projeto\n\nO projeto é organizado da seguinte forma:\n\n- `.serverless`: Pasta que pode ser gerada pelo framework Serverless (serverless.yml).\n- `bin`: Contém o código compilado e binário do projeto.\n- `Makefile`: Arquivo de configuração para compilar o projeto.\n- `go.mod` e `go.sum`: Arquivos para gerenciar dependências do Go.\n- `main.go`: O código principal do servidor da API.\n- `serverless.yml`: Arquivo de configuração do Serverless Framework.\n\n## Pré-requisitos\n\nAntes de começar, você deve ter os seguintes requisitos instalados:\n\n- Go: [Instalação do Go](https://golang.org/doc/install)\n- Serverless Framework: [Instalação do Serverless Framework](https://www.serverless.com/framework/docs/getting-started)\n\n## Como Configurar e Implantar\n\nSiga essas etapas para configurar e implantar a API:\n\n1. Clone o repositório: `git clone https://github.com/gabrielm3/go-serverless-api.git`\n2. Entre na pasta do projeto: `cd go-serverless-api`\n3. Compile o código: `make build`\n4. Implante o serviço com o Serverless Framework: `sls deploy`\n\n## Uso\n\nApós a implantação bem-sucedida, você pode usar a **API REST**. Aqui está um exemplo de rota de teste:\n\n- Rota de teste: `GET /ping`\n\nVocê pode fazer solicitações para a rota de teste usando a URL fornecido após a implantação.\n\n## Contribuindo\n\nContribuições são bem-vindas! Se você encontrar um bug ou tiver uma melhoria, sinta-se à vontade para abrir um problema ou enviar um pull request.\n\n## Licença\n\nEste projeto está licenciado sob a Licença MIT. Consulte o arquivo LICENSE para obter detalhes.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgabrielm3%2Fgo-serverless-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgabrielm3%2Fgo-serverless-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgabrielm3%2Fgo-serverless-api/lists"}