Module 2 - Running Locally

Running Locally

# Installing Dependencies
cd hello-world
npm install
npm run test

# Invoking Lambda Function Locally
cd ~/environment/sam-app
sam local invoke --event events/event.json

# Running Locally
cd ~/environment/sam-app
sam local start-api --port 8080