Skip to content

romashorodok/news-tracker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Task points

Parser

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

Api

Pagination done at database level.

Also I had the pagination view for good frontend experience.
It can be found at pkg/paginationutils

Building

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

Database ERD

erd The migration ca be found at backend/migrations
The queries at backend/internal/storage/queries

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published