Skip to content

Latest commit

 

History

History
41 lines (28 loc) · 1002 Bytes

README.md

File metadata and controls

41 lines (28 loc) · 1002 Bytes

AWS Lambda CRUD project

This is a simple project implementing CRUD operations and storing data in DocumentDB

Components

  • AWS Lambda
  • API Gateway
  • Github Actions with SAM pipeline
  • DocumentDB
  • Secret Manager with credentials for DB

AWS architecture

Dependencies

To use the SAM CLI, you need the following tools.

Use the SAM CLI to build and test locally

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