Golang Hello, World!
app deployed with AWS Lambda function behind AWS API Gateway endpoint via Github Actions.
- Node.js (version 20 or higher)
- Go (version 1.20 or higher)
- AWS CDK CLI installed and configured
Install go package and cdk npm dependencies
$ make setup
To see all available commands go ahead and run
$ make help
setup : Configure local environment
build : Build Go package
zip : Compress Go package for deployment
cdk-deploy : Deploy latest version through CDK
cleanup : Clean up cloud environment
Build the go source code, compress it and deploy it
$ make cdk-deploy
- Take note of your new endpoint in the CDK Outputs section
$ make cdk-cleanup
- Pre-commit hooks for Go and Typescript code (linting, formatting, etc)
- Automated testing for Go and Typescript code
- Monitoring / Healthchecks
- Multi-environment setup
- Running CD pipeline only when relevant
cdk/
orsrc/
contents change
This project is licensed under the MIT License - see the LICENSE file for details.