Skip to content

Latest commit

 

History

History
24 lines (15 loc) · 888 Bytes

README.md

File metadata and controls

24 lines (15 loc) · 888 Bytes

Telegram bot providing prices from binance api

ezgif com-gif-maker (1)

This is not a production ready project!

This is an experiment for learning and testing purposes.

Postgres prerequisites

Application uses Postgres db for persistence.

One of the simplest ways to launch postgres locally is using the docker image:

docker run -p 5432:5432 --name XXX_NAME -e POSTGRES_PASSWORD=XXX_PWD -e POSTGRES_USER=XXX_USER -e POSTGRES_DB=XXX_DB -d postgres

Connection string must be properly updated within /src/Db/Query.hs

Telegram bot prerequisites

Application requires telegram bot access token. You can register your bot and get its access token from BotFather https://t.me/BotFather

Access token must be properly updated within /src/TelegramBot.hs