starter point to create new line bot project
Start express server to handle webhook from LINE
Clone and run
npm install
Modify config.json
{
"port" : "3000",
"channelAccessToken": "YOUR_CHANNEL_ACCESS_TOKEN",
"channelSecret": "YOUR_CHANNEL_SECRET"
}
Run
npm start
then you can access http://localhost:3000
Use ngrok to expose your local url
path/to/ngrok http 3000
config webhook url in developer console then enjoy your bot!
Sitthi Thiammekha