{"id":20992794,"url":"https://github.com/shnartho/backend-web-server-using-go-postgres","last_synced_at":"2026-05-19T01:40:00.331Z","repository":{"id":188510647,"uuid":"678877162","full_name":"shnartho/backend-web-server-using-go-postgres","owner":"shnartho","description":"Learn the Go programming language by building a fully fledged RSS aggregator project in Go. ","archived":false,"fork":false,"pushed_at":"2023-08-20T22:50:49.000Z","size":22583,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-20T08:32:56.300Z","etag":null,"topics":["chi","golang","goose","postgres","rss","sqlc"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/shnartho.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-08-15T15:36:33.000Z","updated_at":"2023-08-21T23:54:50.000Z","dependencies_parsed_at":null,"dependency_job_id":"84b0458c-4a72-4571-960a-d4e26499140a","html_url":"https://github.com/shnartho/backend-web-server-using-go-postgres","commit_stats":null,"previous_names":["shnartho/backend-web-server-using-go-postgres"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shnartho%2Fbackend-web-server-using-go-postgres","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shnartho%2Fbackend-web-server-using-go-postgres/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shnartho%2Fbackend-web-server-using-go-postgres/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shnartho%2Fbackend-web-server-using-go-postgres/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shnartho","download_url":"https://codeload.github.com/shnartho/backend-web-server-using-go-postgres/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243403999,"owners_count":20285484,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["chi","golang","goose","postgres","rss","sqlc"],"created_at":"2024-11-19T07:12:42.637Z","updated_at":"2026-05-19T01:40:00.287Z","avatar_url":"https://github.com/shnartho.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Backend-Web-Server-using-Go-Postgres-RSS✌️\n\nWelcome to the Go RSS Aggregator project! In this project, we will learn and practice the Go programming language by building a fully fledged RSS aggregator using the Chi web framework, PostgreSQL for data storage, and RSS feeds for content aggregation.\n\n![golang](https://fgp.dev/static/media/GolangDevelopmentBanner.aba7a1d6.jpg)\n### Features\nFetches and parses RSS feeds.\u003cbr\u003e\nStores feed content in PostgreSQL.\u003cbr\u003e\nDisplays content using the Chi web framework.\u003cbr\u003e\n\n### Getting Started\n1. Clone the repository:\n```\ngit clone https://github.com/shnartho/Backend-Web-Server-using-Go-Postgres\n```\n3. Create .env file in the root dir and add this lines and change accordingly.\n```\nPORT=8080\nDB_URL=postgres://postgres:{password}@{ip}:{port}/rssagg?sslmode=disable\n```\n4. Install dependencies:\n```\ngo get -u github.com/go-chi/chi\ngo get -u github.com/lib/pq\n// missing libraries\n```\n5. Set up your PostgreSQL database and update config.go.\n6. Install goose and sqlc. Migrate schema using goose. Go to ./sql/schema and run,\n```\ngoose postgres postgres://$username:$password@$ip:$port/$db up\n// example: goose postgres postgres://postgres:12345@172.23.171.45:5432/rssagg up\n``` \n\n7. Run the app:\n```\ngo build \u0026\u0026 ./Backend-Web-Server-using-Go-Postgres\n```\nAccess the aggregator at http://localhost:8080.\n\n### Testing: \n#### 🟢1. Create Users \u003cbr\u003e\n![createUsers](./images/createUsers.png)\n![createUsersPostgres](./images/createUsersPostgres.png)\n\n#### 🟢2. Get Users By API key \u003cbr\u003e\n![GetUsersAPIKey](./images/GetUsersAPIKey.png)\n\n#### 🟢3. Create, Follow and Unfollow Feeds \u003cbr\u003e\n![createFeed](./images/createFeed.png)\n![getFeedFollows](./images/getFeedFollows.png)\n![unfollowFeeds](./images/unfollowFeeds.png)\n\n#### 🟢4. View Posts \u003cbr\u003e\n![getPosts](./images/getPosts.png)\n![databasePosts](./images/databasePosts.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshnartho%2Fbackend-web-server-using-go-postgres","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshnartho%2Fbackend-web-server-using-go-postgres","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshnartho%2Fbackend-web-server-using-go-postgres/lists"}