Skip to content

nayak-nirmalya/rssagg

Repository files navigation

GoLang BackEnd with PostgreSQL, chi & sqlc.

It is a RSS feed aggregator in Go! It's a web server that allows clients to:

  • Add RSS feeds to be collection
  • Follow and unfollow RSS feeds that other users have added
  • Fetch all of the latest posts from the RSS feeds they follow

Credits: Boot.Dev

Prerequisites

go version go1.21.3

Cloning the repository

git clone https://github.com/nayak-nirmalya/rssagg.git

Setup .env file

PORT=8080
DB_URL=

Setup DB

Migrate DB: Run following command inside sql/schema directory

goose postgres <YOUR_DB_URL> up

Generate Queries

sqlc generate

Build & Start the Server

go build && ./rssagg