Getting started:
-
Create a copy of
serverless.example.env.yml
and call itserverless.env.yml
and fill the corresponding values -
Install the dependencies:
npm install
- Initialize the server:
npm run start
or
npm run debug
Start by reading serverless.yml
. Also, read the AWS serverless.yml docs
Deploying to AWS
-
Install the AWS CLI
-
Configure your credentials:
aws configure
- Create a role and configure it on your current environment on the
PROVIDER_ROLE_ARN
key and run
npm run deploy