https://github.com/haneure/go-serverless-aws
Golang Serverless Stack with DynamoDB and AWS Lambda
https://github.com/haneure/go-serverless-aws
api aws-lambda golang serverless
Last synced: 29 days ago
JSON representation
Golang Serverless Stack with DynamoDB and AWS Lambda
- Host: GitHub
- URL: https://github.com/haneure/go-serverless-aws
- Owner: haneure
- Created: 2024-02-04T17:12:42.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2024-02-04T17:33:57.000Z (about 2 years ago)
- Last Synced: 2025-12-17T06:30:17.142Z (4 months ago)
- Topics: api, aws-lambda, golang, serverless
- Language: Go
- Homepage:
- Size: 3.91 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Golang Serverless API
Golang Serverless stack using DynamoDB and deployed to AWS Lambda
## How to use
### Build go code
1. Make sure you are inside the correct directory, where the main.go is.
```
cd cmd
```
2. Build the project code, i am outputting it into the build directory, you can put it anywhere you want.
```
go build -o ../build/main.exe
```
3. Make the zip file of the main.exe. I use the ```zip``` package in linux to make the .zip file.
you can do this code if you are on the root directory
```
go-serverless-aws$ zip ./build/main.zip ./build/main.exe
```
4. Create a Lambda Function
5. Create DynamoDB