{"id":18914775,"url":"https://github.com/laaraujo/aws-serverless-go-with-cdk","last_synced_at":"2026-05-05T22:40:45.483Z","repository":{"id":236575944,"uuid":"792855587","full_name":"laaraujo/aws-serverless-go-with-cdk","owner":"laaraujo","description":"Serverless Go function in AWS","archived":false,"fork":false,"pushed_at":"2024-04-30T19:53:37.000Z","size":200,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-12-31T14:43:26.440Z","etag":null,"topics":["api-gateway","aws","cdk","golang","lambda"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/laaraujo.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-04-27T18:34:59.000Z","updated_at":"2024-11-24T22:49:31.000Z","dependencies_parsed_at":"2024-04-30T02:48:22.295Z","dependency_job_id":"eecafde8-1c78-4d1a-a59f-c53445a80d2a","html_url":"https://github.com/laaraujo/aws-serverless-go-with-cdk","commit_stats":null,"previous_names":["laaraujo/aws-serverless-go-with-cdk"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/laaraujo%2Faws-serverless-go-with-cdk","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/laaraujo%2Faws-serverless-go-with-cdk/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/laaraujo%2Faws-serverless-go-with-cdk/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/laaraujo%2Faws-serverless-go-with-cdk/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/laaraujo","download_url":"https://codeload.github.com/laaraujo/aws-serverless-go-with-cdk/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239907249,"owners_count":19716585,"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","aws","cdk","golang","lambda"],"created_at":"2024-11-08T10:12:50.200Z","updated_at":"2026-03-10T00:30:19.745Z","avatar_url":"https://github.com/laaraujo.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Deployment](https://github.com/laaraujo/aws-serverless-go-with-cdk/actions/workflows/deployment.yml/badge.svg?branch=main)](https://github.com/laaraujo/aws-serverless-go-with-cdk/actions/workflows/deployment.yml)\n\n# Hello World - Go Serverless endpoint in AWS\n\nGolang `Hello, World!` app deployed with AWS Lambda function behind AWS API Gateway endpoint via Github Actions.\n\n## Table of contents\n* [Pre-requisites](#pre-requisites)\n* [Local setup](#local-setup)\n* [Manual deployment](#manual-deployment)\n* [Cleanup](#cleanup)\n* [Possible improvements](#possible-improvements-not-covered-in-this-repo)\n* [License](#license)\n\n## Pre-requisites\n\n* [Node.js](https://nodejs.org/en) (version 20 or higher)\n* [Go](https://go.dev/) (version 1.20 or higher)\n* AWS CDK CLI [installed and configured](https://docs.aws.amazon.com/cdk/v2/guide/getting_started.html)\n\n## Local setup\n\nInstall go package and cdk npm dependencies\n```sh\n$ make setup\n```\n\nTo see all available commands go ahead and run\n```sh\n$ make help\n```\n\n```log\nsetup       : Configure local environment\nbuild       : Build Go package\nzip         : Compress Go package for deployment\ncdk-deploy  : Deploy latest version through CDK\ncleanup     : Clean up cloud environment\n```\n\n## Manual deployment\n\nBuild the go source code, compress it and deploy it \n```sh\n$ make cdk-deploy\n```\n![alt text](./docs/deploy.png)\n\n* Take note of your new endpoint in the CDK Outputs section\n\n![alt text](./docs/result.png)\n\n## Cleanup\n```sh\n$ make cdk-cleanup\n```\n\n![alt text](./docs/cleanup.png)\n\n\n## Possible improvements **not** covered in this repo\n* Pre-commit hooks for Go and Typescript code (linting, formatting, etc)\n* Automated testing for Go and Typescript code\n* Monitoring / Healthchecks\n* Multi-environment setup\n* Running CD pipeline **only** when relevant [`cdk/`](./cdk/) or [`src/`](./src/) contents change\n\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE](./LICENSE) file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flaaraujo%2Faws-serverless-go-with-cdk","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flaaraujo%2Faws-serverless-go-with-cdk","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flaaraujo%2Faws-serverless-go-with-cdk/lists"}