The parser core can be found at worker/pkg/parser
Prebuilt template which use it can be found at worker/internal/prebuiltemplate
The articles publishing happened here
The article consuming happened here
Pagination done at database level.
Also I had the pagination view for good frontend experience.
It can be found at pkg/paginationutils
docker build .
Important
To run need Docker Compose version 2.22 and later.
docker-compose watch
For migration:
goose -dir ./backend/migrations -table schema_migrations postgres postgres://admin:admin@localhost:5432/postgres up
Also for running worker need provide config:
echo "CONFIG='{...}'" > .env
The migration ca be found at backend/migrations
The queries at backend/internal/storage/queries