Some sketches in golang. All configuration data provided in .env file To run application use host (SERVER_HOST) and url (REQUEST_URL) provided in .env file
.env names
ARTICLES_ARCHIVE - url for articles set
ADS_ARCHIVE - url for advertisements set
ADS_FREQUENCY - frequency of advertisements. E.g. 5 articles - 1 advertisement, frequency is equal to 5
ADV_DEFAULT_TEXT=Ad - default text, if no advertisements found
Testing: go test