golangDemo
It’s a golang project try to connect to Line Message API and MongoDB
Test step:
- 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”)
- Start nrogk, then copy the Forwarding domain.
- Paste the domain + “/callback” as POST path to LINE developers/Webhook URL.
- Start up the main project, listen to port 8080.
- Click the verify button, make sure LINE message API can connect to the Application.
- Sent Message via LINE messenger, make sure bot are replying Text.
- Call the Message List POST restful service by Postman, get the list from server response