This project demonstrates a straightforward integration between AWS Lambda, API Gateway, and DynamoDB. The Lambda function is designed to receive a request via API Gateway and then insert the relevant data into DynamoDB.
- API Gateway: Acts as an entry point, receiving HTTP requests and forwarding them to the Lambda function.
- AWS Lambda: Processes the incoming request, extracts the necessary data, and performs operations on DynamoDB.
- DynamoDB: Persistent storage where request data is inserted.
Before starting or deploying this project, ensure you have the following installed:
- AWS CLI
- Go Language (version 1.18)
- Serverless Framework
-
Configure AWS CLI:
aws configure
-
Clone the Repository:
git clone git@github.com:marcosmourabro/dynamo-data-dispatcher.git cd dynamo-data-dispatcher
-
Install Dependencies (if applicable):
go mod tidy
-
Deploy via Serverless Framework:
serverless deploy