Scrapes posts from RSS feeds based on the topics followed by the user using goroutines.
- Clone the repository
git clone https://github.com/abhinavvsinhaa/rssaggregator.git
- Install SQLC for compiling SQL to type-safe code and Goose as the database migration tool
- Run the migrations
cd ./db/schema goose <DATABASE_URL> up
- Generate type-safe code using SQLC from root directory
sqlc generate
- Run
go mod tidy
andgo mod vendor
- Build the project & run the generated build file
go build && ./rssaggregator
Use the JSON file to import the collection in your favorite HTTP client.
Blogs fetched from RSS Feeds
![Screenshot 2023-12-27 at 1 24 43 PM](https://private-user-images.githubusercontent.com/76272472/292986223-bdb57a45-758c-4fce-a945-e3260073b101.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjAwMzY5NTYsIm5iZiI6MTcyMDAzNjY1NiwicGF0aCI6Ii83NjI3MjQ3Mi8yOTI5ODYyMjMtYmRiNTdhNDUtNzU4Yy00ZmNlLWE5NDUtZTMyNjAwNzNiMTAxLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MDMlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzAzVDE5NTczNlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTc0MDA0YTM0NTljZjcxY2M3NzZjMGQxYTBkODU3MWM5ZDVjODMwNGVjNmExMGZkZDc3NzM2N2Q0MTRkNjNjNjImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.VSQNW60o_L5SRq2KbJfUEue9Bwoaheojmi8ArsWt80Q)