golangDemo

It’s a golang project try to connect to Line Message API and MongoDB

Test step:

  1. Start up docker mongoDB. (due to the windows version issue, I choose Linux VM(ubuntu) to start up the docker) (The start up shell is in project folder “shell”) image
  2. Start nrogk, then copy the Forwarding domain. image
  3. Paste the domain + “/callback” as POST path to LINE developers/Webhook URL. image
  4. Start up the main project, listen to port 8080. image
  5. Click the verify button, make sure LINE message API can connect to the Application. image image image
  6. Sent Message via LINE messenger, make sure bot are replying Text. image
  7. Call the Message List POST restful service by Postman, get the list from server response image

GitHub

View Github