This is a simple project implementing CRUD operations and storing data in DocumentDB
- AWS Lambda
- API Gateway
- Github Actions with SAM pipeline
- DocumentDB
- Secret Manager with credentials for DB
To use the SAM CLI, you need the following tools.
- SAM CLI - Install the SAM CLI
- Python 3 installed
- Docker - Install Docker community edition
Build application
sam build --use-container
Run:
sam local start-api --region eu-west-2
or invoke events manually:
sam local invoke NewsCRUDFunction --event events/event_get.json
sam local invoke NewsCRUDFunction --event events/event_post.json