Useful command for serverless framework
npm install -g serverless
serverless create --template aws-nodejs --path my-service
serverless config credentials --provider <PROVIDER> --key <KEY> --secret <SECRET> --profile <PROFILE>
serverless config credentials --provider aws --key AKIAIOSFODNN7EXAMPLE --secret wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY --profile your-name #eg
sls offline start --stage <STAGE_NAME>
sls offline start --stage <dev> #eg
sls deploy --stage <STAGE_NAME>
sls deploy --stage prod #eg
export AWS_PROFILE=XXXXX && sls offline start --stage <STAGE_NAME>
export AWS_PROFILE=XXXXX && sls offline start --stage prod #eg