A Glip translate bot with botbuilder-glip
- Node.js > 8
- Mongodb
- RingCentral developer free account
- Dialogflow account
- Microsoft tanslate text API key
$ git clone https://github.com/embbnux/translate-bot.git
$ cd translate-bot
$ yarn install
$ touch .env
$ vim .env
Sample of .env file
GLIP_API_SERVER=https://platform.devtest.ringcentral.com
GLIP_CLIENT_ID=your_ringcentral_client_id
GLIP_CLIENT_SECRET=your_ringcentral_client_secret
GLIP_BOT_SERVER=your_bot_server_url
GLIP_BOT_VERIFICATION_TOKEN=random_chars_length_32
DIALOGFLOW_TOKEN=your_dialogflow_agent_token
TRANSLATE_TEXT_SUBSCRIPTION_KEY=your_microsoft_translate_text_subscription_key
MONGODB_URI=your_mongodb_uri, such as: mongodb://localhost:27017
MONGODB_DB=your_mongodb_db_name
yarn start