- aws-sdk
- serverless
- node.js (12.x)
- yarn
$ git clone [email protected]:lemonJS/animal-adoption-api.git
$ cd animal-adoption-api
$ yarn install
# Create an AWS SSM paramter
$ aws ssm put-parameter --name api_url --type String --value <your_url_api>
$ serverless invoke local --function animals
# Run the tests:
$ yarn test
# Run the tests and generate a coverage report:
$ yarn test --coverage
$ serverless deploy