Skip to content

Micro service for real time notification of incoming documents(deposit/withdraw) to MongoDB in Telegram.

License

Notifications You must be signed in to change notification settings

Avm07/wallet-bot

Repository files navigation

GitHub CircleCI

wallet-bot

Wallet-bot is a telegram bot which inform in channel about incoming documents from MongoDB using change stream.

Dependencies

  • Boost 1.70
  • mongo-c-driver
  • mongo-cxx-driver
  • spdlog
  • nlohman/json
  • openssl

Compiling

mkdir build
cd build
cmake ..
# use "make -j N" for N CPU cores for faster compiling (may require more RAM)
make

Environment variables

  • TLG_API_HOST
  • TLG_BOT_API_TOKEN
  • TLG_CHAT_ID
  • MONGO_DB_HOST
  • MONGO_DB_PORT
  • MONGO_DB_NAME
  • MONGO_DB_COL_NAME
  • MONGO_DB_USR
  • MONGO_DB_PWD

Running

./wallet-bot

About

Micro service for real time notification of incoming documents(deposit/withdraw) to MongoDB in Telegram.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published