This is in part summary of a YouTube video: link here
Question to start with: How do I run dynamoDB locally? I do not want to risk all my codes going into AWS and mess things up there (big aws charges).
Once cloned, run the following commands in your working directory.
sls dynamodb install
this will create a local dynamodb instance in your working directory.
sls offline start --stage dev
once done, use postman to test whether your local endpoint is connected to the dynamodb!!!