Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 

aws-LINE-echo-bot

This is my first project using Serverless framework to create LINE echo bot in AWS.

Release this project to help first time use this framework's developer!

Bebore you start

  1. LINE developer account
  2. LINE Message API

Quick Start

  1. Install serverless via npm
$ npm install -g serverless
  1. Setup your AWS ceritficate
export AWS_ACCESS_KEY_ID=<your-key-here>
export AWS_SECRET_ACCESS_KEY=<your-secret-key-here>
  1. Clone this project
$ serverless install --url https://github.com/louis70109/aws-line-echo-bot -n <YOUR_FILE_NAME>
$ cd <YOUR_FILE_NAME>/
  1. Insert you LINE bot secret & key
line_bot_api = LineBotApi('YOUR_CHANNEL_ACCESS_TOKEN')
handler = WebhookHandler('YOUR_CHANNEL_SECRET')
  1. Deploy the webhhok function
npm install
pip install -r requirements.txt
serverless deploy

Now you can test you chatbot, have fun! Echo bot

Author

Create by NiJia

Bonus

This project is combined in serverless example project

License

MIT

About

This project is using Serverless + python + LINE message api to create a echo bot on AWS.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages