Skip to content

Latest commit

 

History

History
22 lines (18 loc) · 617 Bytes

README.md

File metadata and controls

22 lines (18 loc) · 617 Bytes

Best_Bot_Backend

Backend for Best_Bot
https://github.com/Typelias/Best_Bot

Usage

It runs on port 8080

  • "/subreddit" method POST. It expects an array of strings.
    Used this to tell the server what Subreddits to get post from

  • "/subreddit/{id}" method GET.
    Gets a random Image(jpg,png)/gif/gifv or gfycat URL

  • "/subreddits" method GET
    Returns an array with all subreddits the backend keeps track of

Requirements

Installation

  • Clone repo
  • Run go build