Application that fetches the data of the current BOE auctions into a database, and notifies a telegram channel about them.
Every run will fetch the existing data from the database to avoid sending duplicates and save time.
- Docker and Docker compose OR a Postgres database
- .NET 6
POSTGRES_CONNECTION_STRING: The connection string to the database where the auctions will be saved.
Example:Host=localhost;Username=postgres;Password=postgres;Database=postgresTELEGRAM_BOT_TOKEN: (Optional) The token of the bot that will send the messages.
Example:123456789:ABCDEFGHIJKLMNOPQRSTUVWXYZTELEGRAM_CHAT_ID: (Optional) The ID of the chat where the bot will send the messages.
Example:123456789
- Launch the database with
docker-compose upordocker-compose up -d - Execute the program with
dotnet run. It will fetch all the auctions and load them into the database. Then, it will send Telegram notifications
Currently, the repository has a workflow configured that will launch the program once every day