A template LINE bot to report incidents of animal damage.
- Git
- Node.js version 10 and up
- Vercel Account
- LINE Developers Account for the bot
- AWS S3
- Install all dependencies.
yarn install- Configure all of the environment variables.
# .env
CHANNEL_ACCESS_TOKEN=
CHANNEL_SECRET=
PORT=3000
DATABASE_URL=
S3_ACCESS_KEY=
S3_SECRET_ACCESS_KEY=
S3_REGION=
S3_BUCKET=
- Setup your webhook URL in your LINE Official Account to be in the following format. Don't forget to disable the greeting messages and auto-response messages for convenience.
https://example-url.com/webhook- Run the application.
yarn dev