SMSU line OA webhook source code by natpatchra pongjirapat
For siriraj student union year 2020-2021
.
├── api # Directory for main webhook api
├── img # Directory for image material
├── json # Directory for json line flex template
├── richmenu # Directory for richmenu template and shell script
├── template # Directory for line bot demo
├── node_modules # Directory for nodejs module
├── secret # Directory for hidden secret (eg. firebase config, line channel etc.)
├── package # Package config for nodejs
├── package-lock # Package config for nodejs
├── .env # Hidden env config for vercel server
├── License # License file
├── server.js # Main javascript file for web server
└── README.md
- javascript
- nodejs
- express
- request
- node-fetch
- body-parser
- line-messaging-api
In progress
For usage as a line messaging webhook as a serverless api with vercel
As of writing this markdown file, this project is at a stage of real world usage as organisation main line OA. However, there are no benchmarking and intense testing done due to limit of funding.
In summary our current features and to do include:
-
features
- Working as a main webhook when use in accordance with line OA
- have a proxy function for turning special message type to plain text for dialogflow use
-
todo
- Improve documentation
- Intensive testing
- Optimization
- Tutorial for line messaging API by Jirawatee
- Line messaging API documentation