Skip to content

elifnaz/flashcard-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Flashcard Bot for Messenger

Built with Node.js, API.AI for NLP and MongoDB


EloBot can make small talk thanks to Google's Api.ai, and add flash cards to the database.

Each users's Messenger sessionID is stored in MongoDB so that they can access their cards later to practice. In the screenshot, you can see that there are 2 documents in the collection representing 2 different users and their cards array.


small talk + adding cards database

TODOS:

  • set up ngrok
  • verify Facebook webhook using ngrok
  • create an API.AI agent
  • add quick reply option to the bot: https://developers.facebook.com/docs/messenger-platform/send-api-reference/quick-replies
  • host mongoDB on mLab
  • configure mongoose and get rid of the deprecation warning for open()
  • customize API.AI small talk
  • create a Card Intent for the API.AI agent
  • create a Practice Intent for the API.AI agent
  • create process.env file for Node
  • deploy on AWS

About

Messenger bot using Node.js, API.AI, MongoDB

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published