This project is created for fun and to practice Golang. It serves as an opportunity to delve into Golang development by building a project from start to finish.
The motivation behind this project is to deepen my understanding of Golang. Inspired by a YouTube video on freecodecamp by Lane Wagner, I decided to create a similar kind of project. Having learned Golang from Boot.Dev, I aimed to implement additional functionality beyond the original project.
This marks my inaugural project in Golang.
Expect more Golang projects in the future!
- GET
- Returns:
- 200 -- Server Running
- Returns:
-
POST
- Creates New Users
- Body:
{ "name": "Your Name" }
-
GET
- Requires Authentication
- Headers:
{ "Authorization": "ApiKey **********" }
- POST
- Requires Authentication
- Headers:
{ "Authorization": "ApiKey **********" }
- Body:
{ "name": "Feed Name", "url": "RSS Feed URL" }
- User will add feed
- Scraper will fetch and add post from feed to database posts table
- GET
- Requires Authentication
- Headers:
{ "Authorization": "ApiKey **********" }
- Returns Followed Feed Posts
-
POST
- Requires Authentication
- Headers:
{ "Authorization": "ApiKey **********" }
- Body:
{ "feed_id": "Feed ID Wants to Follow" }
-
GET
- Requires Authentication
- Headers:
{ "Authorization": "ApiKey **********" }
- Returns Following Feed For The User
- DELETE
- Requires Authentication
- Remove Feeds From Following