项目作者: malykhin

项目描述 :
Node.js Telegram bot microservices example
高级语言: JavaScript
项目地址: git://github.com/malykhin/sneakyBot.git
创建时间: 2018-08-01T19:16:47Z
项目社区:https://github.com/malykhin/sneakyBot

开源协议:

下载


sneakyBot

Node.js Telegram bot microservices example.

This bot scrapes selected url in some intrval, check it content and notify user for changes.

Read more about this project: @denismalykhin/building-microservices-for-telegram-bot-using-node-js-rabbitmq-mongodb-and-docker-from-scratch-12640d172b8f"">https://medium.com/@denismalykhin/building-microservices-for-telegram-bot-using-node-js-rabbitmq-mongodb-and-docker-from-scratch-12640d172b8f

How to run

  • First, you should generate BOT_TOKEN here https://telegram.me/botfather and add it to the /bot/environment
  • Second, run npm install for dependencies installation
  • Third, just run docker-compose up it will start all containers automatically.

There are nodemon watchers in each container, so local changes in the code will restart node processes.