Yes, bot uses webhooks implementation
Application is realized over Spring
framework
Currently, bot check prices over https://poe.ninja/
So, for that purpose I would recommend you to use ngrok
Then go into BotConfiguration.class
- webhook - links from ngrok
- token - BotFather provide this token
Example
@Key("TELEGRAM_BOT_WEBHOOK")
@DefaultValue("https://1234-567-890-00-111.ngrok-free.app")
String webHook();
@Key("TELEGRAM_BOT_TOKEN")
@DefaultValue("1234567890:AABBCC-DDDDD")
String token();
Then
Option 1
- run
docker-compose.yml
- start application from aggregator module
- start application from telegram module
Option 2 (not ready yet)
Run over console app.sh
Then
Bot is ready for working
No, you don't need to do it
Bot has controller which assign webhook to bot after starting application
I decided to use mariadb
Also application use migrations flow over flyway mechanism
It is possible, but at the moment I have no a lot of free time
I haven't finished yet 1.0.0
version
Repository is connected to renovate with
regular checking and managing
new versions of libs
Repository is connected to github actions
- Each pull request/merge into
main
triggers unit tests - Integrations tests are in progress now and later will be done
- Every release should run pipeline with running these tests
- Nightly builds will have a rule for running these tests only manually
Yes, I have a plan for that in future
Currently, I would recommend you to stay your feedback
over issues
or discussion