Ver.bot webhook part.
Notify part in here.
NOTE: You should deploy the same major version as notify part.
- install dependency
npm i-
before deploy to AWS, install AWS CLI and configure it.
-
create AWS dynamoDB tables.
aws dynamodb create-table --cli-input-json file://aws/dynamodb/project.json
aws dynamodb create-table --cli-input-json file://aws/dynamodb/project_detail.jsonAnd if you want to publish your Slack APP, you should store user Oauth tokens.
aws dynamodb create-table --cli-input-json file://aws/dynamodb/slack_oauth_token.json- create, update, configure tokens or destroy it.
npm run create
npm run update
npm run configure-slack
npm run configure-telegram
npm run configure-skype
npm run destroyYou can use tools like ntl to avoid typing. Now, AWS API gateway and AWS Lambda are all set!
Default deploy region is us-east-1. For more tweaking information in package.json, refer to Claudia docs.
