Depending on your preferred package manager, follow the instructions below to deploy your project.
Requirements: NodeJS
lts/fermium (v.14.15.0)
. If you're using nvm, runnvm use
to ensure you're using the same Node version in local and in your lambda's runtime.
- Run
npm i
to install the project dependencies - Run
npx sls deploy
to deploy this stack to AWS
- Run
yarn
to install the project dependencies - Run
yarn sls deploy
to deploy this stack to AWS
npm run docker:up
npm run test:init
This generates a .env.test file with the environment variables needed ot run tes tests. You can feed that to your configuration in Intellij.
npm run test
npm run docker:down
To deploy we use serverless framework.
You need to register in this website.
Your application needs to have access to this key.
Generate a .env
file and write the following:
COIN_LAYER_ACCESS_KEY=KEY_FROM_API
npx env-cmd -f .env npx serverless deploy --stage dev