Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/fidelisclayton/ufrn-messenger-bot
A Facebook Messenger Bot to consult UFRN bus stops and universitary restaurant
https://github.com/fidelisclayton/ufrn-messenger-bot
chatbot facebook messenger nodejs ufrn
Last synced: 21 days ago
JSON representation
A Facebook Messenger Bot to consult UFRN bus stops and universitary restaurant
- Host: GitHub
- URL: https://github.com/fidelisclayton/ufrn-messenger-bot
- Owner: FidelisClayton
- Created: 2017-02-13T16:33:24.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2017-04-13T16:06:48.000Z (almost 8 years ago)
- Last Synced: 2024-11-11T02:26:15.646Z (3 months ago)
- Topics: chatbot, facebook, messenger, nodejs, ufrn
- Language: JavaScript
- Size: 77.1 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
[![Coverage Status](https://coveralls.io/repos/github/FidelisClayton/ufrn-messenger-bot/badge.svg?branch=master)](https://coveralls.io/github/FidelisClayton/ufrn-messenger-bot?branch=master)
[![Build Status](https://travis-ci.org/FidelisClayton/ufrn-messenger-bot.svg?branch=master)](https://travis-ci.org/FidelisClayton/ufrn-messenger-bot)
# ufrn-messenger-bot
A Facebook Messenger Bot to consult UFRN bus stops and universitary restaurant### Folder structure
#### App
We have a source folder called `app`, which contain all of our app Javascript code and assets.| Folder | Description |
|-------------|------------------------------------------|
| Components | Messenger API templates |
| Handlers | Switchs to handle the incoming messages |
| Helpers | Useful functions |
| Messages | Functions to send messages |### Development
First of all you will need to set 2 enviroment variables:| Variable | Description |
|---------------------|-------------------------|
| MESSENGER_TOKEN | The messenger api token |
| API_AI_CLIENT_TOKEN | The api.ai client token |So, install the project dependencies:
```sh
npm install
```
And at last but not least start the server:
```sh
npm start
```