https://github.com/piru72/middy-dynamodb-boilerplate
Boilerplate for Middy DynamoDB
https://github.com/piru72/middy-dynamodb-boilerplate
aws-lambda dynamodb middy mvc sam-cli
Last synced: 8 months ago
JSON representation
Boilerplate for Middy DynamoDB
- Host: GitHub
- URL: https://github.com/piru72/middy-dynamodb-boilerplate
- Owner: piru72
- License: agpl-3.0
- Created: 2024-06-14T23:59:39.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2024-12-12T18:47:45.000Z (10 months ago)
- Last Synced: 2024-12-12T19:38:26.165Z (10 months ago)
- Topics: aws-lambda, dynamodb, middy, mvc, sam-cli
- Language: JavaScript
- Homepage:
- Size: 2.93 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# A boiler plate for AWS Lambda using middy
## What is middy?
Middy is a very simple middleware engine that allows you to simplify your AWS Lambda code when using Node.js.If you have used web frameworks like Express, then you will be familiar with the concepts adopted in Middy and you will be able to get started very quickly.
A middleware engine allows you to focus on the strict business logic of your Lambda and then attach additional common elements like authentication, authorization, validation, serialization, etc. in a modular and reusable way by decorating the main business logic.
## nodemon script for local development
On each file save, the script will build the project and start the local server.
```bash
nodemon --exec "sam build && sam local start-api"
```