To use the SAM CLI, you need the following tools.
- SAM CLI - Install the SAM CLI
- Node.js - Install Node.js 10, including the NPM package management tool.
- Docker - Install Docker community edition
- Open your terminal / command prompt
- type
https://github.com/dhirajsonavane/aws-api-gateway-with-nodejs-lambda-sam-template.git
- Make sure you have AWS account setup with access key and secret key
- Make sure you have installed aws cli on your local machine
- Make sure you have configured your aws account with aws cli
- Now run below command from the root of the project to initiate aws deployment
npm run deploy