Skip to content

jasonLuFa/simpleLine-Webhook

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🔔 simpleLine-Webhook

💪 Purpose

  • Receive message from line webhook and save the user info and message in MongoDB
  • Create a API send message back to line
  • Create a API query message list of the user from MongoDB

🎬 Demo

simpleline_demo.mp4
  • 00:16 👉 input the channel access token and start the server
  • 00:33 ~ 00:47 👉 Receive message from line webhook and save the user info and message in MongoDB
  • 00:59 👉 Create a API query message list of the user from MongoDB
  • 01:03 👉 Create a API send message back to line

🧰 Development tool

  1. postman : test API
  2. ngrok : for local test to generate a https endpoint
  3. mongoDB ( Studio 3T ) : mongo GUI
  4. docker
  5. Makefile

💻 Golang library

  1. Gin
  2. Viper
  3. mongo-go-driver
  4. cobra
  5. gomock
  6. stretchr/testify

About

Get user info and save to mongoDB with Line webhook

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published