1
0
Go to file
2023-09-09 15:57:49 +03:00
http-requests add showing posts that user is following 2023-09-09 15:57:49 +03:00
internal add showing posts that user is following 2023-09-09 15:57:49 +03:00
sql add showing posts that user is following 2023-09-09 15:57:49 +03:00
vendor add feeds with users 2023-09-09 14:08:44 +03:00
.env add feeds with users 2023-09-09 14:08:44 +03:00
.gitignore add feeds with users 2023-09-09 14:08:44 +03:00
go.mod add feeds with users 2023-09-09 14:08:44 +03:00
go.sum add feeds with users 2023-09-09 14:08:44 +03:00
handler_err.go boilerplate for http server 2023-09-09 11:52:40 +03:00
handler_feed_follows.go add showing posts that user is following 2023-09-09 15:57:49 +03:00
handler_feed.go add showing posts that user is following 2023-09-09 15:57:49 +03:00
handler_readiness.go boilerplate for http server 2023-09-09 11:52:40 +03:00
handler_user.go add showing posts that user is following 2023-09-09 15:57:49 +03:00
json.go add showing posts that user is following 2023-09-09 15:57:49 +03:00
main.go add showing posts that user is following 2023-09-09 15:57:49 +03:00
middleware_auth.go add showing posts that user is following 2023-09-09 15:57:49 +03:00
models.go add showing posts that user is following 2023-09-09 15:57:49 +03:00
README.md add feeds with users 2023-09-09 14:08:44 +03:00
rss.go add showing posts that user is following 2023-09-09 15:57:49 +03:00
scraper.go add showing posts that user is following 2023-09-09 15:57:49 +03:00
sqlc.yaml add feeds with users 2023-09-09 14:08:44 +03:00

Go RSS aggregator

From: https://www.youtube.com/watch?v=un6ZyFkqFKo&t=24193s

Example API requests are located in http-requests

Running the server

go build && ./go-rss-aggregator

Regenerate sql query bindings

sqlc generate

Apply goose migrations

cd sql/schema
goose sqlite ../../db.sqlite up
cd ../..