Estruturação rápida de “postos de triagem” virtuais descentralizados para redução de visitas desnecessárias às emergências
Production | Development |
---|---|
Make sure bash
is available from your terminal
$ npm install serverless -g
$ serverless login
$ npm install
DANGER you must know exactly what you are doing here!
$ NODE_ENV={stage_name} npm run deploy:frontend
$ NODE_ENV={stage_name} sls create_domain
provider.deploymentBucket.name
bucket exists. Create if needed.$ serverless deploy
$ NODE_ENV=development|production npm run deploy
$ NODE_ENV=development|production npm run deploy:frontend
$ NODE_ENV=development|production npm run deploy:backend
User is not authorized to access this resource
when using the APIAuthorizers
tab and you shall see the authorizer
Edit
, check Authorization Caching
and click Save
Edit
again, uncheck Authorization Caching
and click Save