Giter Club home page Giter Club logo

monro-consulting-bot's Introduction

Build Status Codacy Badge

Monro consulting bot

The bot was created within educational work for common principles of Telegram Bot API using demonstrating.

The bot is able to greet new or returned users and keeps records of all users which have non blocked chats with the bot.

Commands 💬

command description Localized description
/members_count returns total amount of all users which use the bot nowadays Получить общее количество пользователей
/recommended_shoes returns recommended shoes Получить рекомендуемую обувь
/size sets customer's scale Установить свой размер
/wish_list returns current wish list Получить список желаемого

Technology stack

  • Java 15
    • Maven
    • Spring Boot
    • Hibernate
    • HOCON
  • Hyper SQL Database
  • Docker

Docker image creating 🐳

Requirements

  • Docker
  • Makefile
  • Java 15
  • Maven (with toolchain plugin)

Steps

  • Create Hyper SQL Database instance in db directory with username sa and password password
  • Run src/main/resources/schema.sql and src/main/resources/init.sql for created database
  • Rename config/telegram-example.conf to config/telegram.conf
  • Write name and token of your bot in config/telegram.conf
  • Replace zhenyria in Makefile by name of your Docker hub account (it is necessary for pushing created image to your Docker hub repository)
  • Run make create_image tag=<WRITE TAG HERE>

The image will is created. It could be run by make run tag=<WRITE TAG HERE>

monro-consulting-bot's People

Contributors

zhenyria avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.