Hello, I want to build simple chat bot with node express backend and mongodb.I want user to send message to server, which will take message and check if keywords are present and match with keyword in db.So far I am able to send message as user with POST, but I dont know how to read that message with server, compare it to DB and send response back to frontend. I see that message from frontend coming to my server, but when I tried to wrap it to some variable, array I got some errors. What approach would be best in this case?Also is something like socketio neccessary for chatbot app?Thank you
Submitted September 04, 2018 at 02:16PM by mikebun2
No comments:
Post a Comment