https://serverless.com/framework/docs/providers/aws/guide/quick-start/
npm install -g serverless
-
Create IAM user https://serverless.com/framework/docs/providers/aws/guide/iam/
-
Setup user access
serverless config credentials --provider aws --key xxxxxxxxxxxxxx --secret xxxxxxxxxxxxxx -
Create project
serverless create --template aws-nodejs --path my-service -
Serverless yml
https://serverless.com/framework/docs/providers/aws/guide/serverless.yml/ -
Serverless Deploy
serverless deploy -v
https://github.com/dherault/serverless-offline
serverless plugin install --name serverless-offline
serverless offline start
$ npm init -y
$ npm i --save-dev serverless-offline
$ npm i --save mongoose dotenv
sls offline start --skipCacheInvalidation