A Facebook Messenger Bot to consult UFRN bus stops and universitary restaurant
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 |
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:
npm installAnd at last but not least start the server:
npm start