- this is to performed basic
CRUD
functions using lambda into dynamodb. - used a simple middleware
Middy
to mitigate basic http functions. - include
Winston
logger to capture logs base on development environment.
- Setting up the Serverless function (for DEV stages only)
# NOTE: Always run the serverless function first
# one-time setup
npm install -g serverless # optional in case you have it already
npm install
sls dynamodb install
# run the service in your local
npm run startwin
open Postman, import myPostman.json and Run