Ping API endpoints every (1) minute(s) to check if it's healthy
Run locally
$ yarn run local -f ping
Deploy lambda development
$ yarn run deploy
Deploy lambda production
$ yarn run deploy --stage prod
Remove lambda
$ yarn run remove [--stage prod]
- Make sure you have set AWS credential using this command:
serverless config credentials --provider aws --key [your aws key] --secret [your aws secret key]
Note: It's recommended to use node version 10.x
$ yarn run-dev -f ping
$ cp config.example.yml config.yml # and edit
$ yarn
$ sls invoke local -f ping
# OR
$ yarn dev # Then, Open http://localhost:6000
$ yarn
$ yarn build
.................Wok in Progress.............