Repository navigation
RSS Aggregator server
Pre-release
Pre-release
This is a build version of the go code in the repository. To run this server simply type .\rssagg in a terminal.
The environment should have a PORT and DB_URL exposed.
To do so, you can simply create a .env file with the two fields in it.
The Database should have the required tables and relations in it. To streamline that you can use the tool goose.
To install goose simply use
go install github.com/pressly/goose/v3/cmd/goose@latestTo migrate all the tables and relations to a postgres database use
cd .\sql\schemas\
goose postgres {{postgres_DATABASE_URL}} upThis will migrate all the tables to the database. You can add the feeds to the database by calling the endpoint /v1/feed
After that this server will automatically collect 10 feeds every 1 minute
Run the server
.\rssaggEnjoy!!