This is a chat bot app that integrates with Facebook Messenger and provides prompts for things to do when you're bored, based on data from the BoredAPI.
- Node.js
- GraphQL
- Apollo Client
- Apollo Server
- SQLite DB
- BoredAPI
- GIPHY
- SQLite
Picture this. You're bored. Mind-numbingly bored. So bored, you can't even begin to fathom what you might want to do with your time. Fret not! Boredom-Disintegration in progress with DON'T-BORE-ME. As a user, you interact with the chatbot on messenger. After some basic inquiries on what you might what to do to alleviate your boredom, the bot queries the BoredAPI to suggest ways to liberate you from your current bored state of existence. It stores it's suggestions in a local DB and on subsequent visits enquires about your previous experience and makes new suggestions accordingly.
- Tracks users by ID
- Stores activity history
- Accepts feedback on prior recommendations and tailors suggestions accordingly
- Can filter by price if the idea is too expensive.
- Integrates GIFs to make conversation more entertaining using Giphy's public API
- Leverages GraphQL to limit the number of queries made, and the effort needed to parse unnneccesary json
- Create a Facebook developer app and generate tokens. take a look at Facebook's Quick Start Guide
- Use deploy/server branch as a Heroku App
- Use deploy/bot-backend branch as another Heroku App
- Change the target of Apollo client to your apollo-server url in index.js before deploying
- Use the tokens of your facebook developer app