Skip to content

Blog Aggregator that links to your favorite blogs and returns their content

Notifications You must be signed in to change notification settings

jcsmurph/Blog-Aggregator

Repository files navigation

Blog Aggregator

This applications links to your favorite blogs and returns their content.

Supported Features

  • User Creation
  • Create new Blog feeds that link to your favorite blogs
  • Follow feeds that are created by other users
  • Unfollow feeds that no longer interest you

Supported Feeds

-XML

Prerequisites

To Run

  • Clone the repository locally
  • Create a database in postgres
  • On the command line, build the project using go build -o {name} && ./{name}
  • On the command line, run goose postgres postgres://postgres:USERNAME@HOST:PORT/DATABASE?sslmode=disable up to create the necessary tables
  • Use an API client to create a user and get an API token
  • Use the API token to create a feed to your favorite blog
  • Use the API to follow other blogs that have been created by other users

Supported APIs

  • Create a User (POST localhost:8080/v1/users)
    Body:
{
"name": Username
}

  • Get User Information (GET localhost:8080/v1/users)
    Body:
{
"name": Username
}

  • Create a feed (POST localhost:8080/v1/feeds)
    Header:
Authorization: ApiKey <key>
  • Follow a created feed (POST localhost:8080/v1/feed_follows)
    Header:
Authorization: ApiKey <key>
  • Unfollow a feed (DELETE localhost:8080/v1/feed_follows/{feedFollowID})
    Header:
Authorization: ApiKey <key>
  • Unfollow a feed (DELETE localhost:8080/v1/feed_follows/{feedFollowID})

Header:

Authorization: ApiKey <key>
  • Get posts from a feed (GET localhost:8080/v1/posts?limit=)
    Header:
Authorization: ApiKey <key>

About

Blog Aggregator that links to your favorite blogs and returns their content

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages