A reddit scraper app, it saves and indexes by reddit, leave comments to yourself, and delete them
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
models added routes, fixed bugs, cleaned up Dec 7, 2017
public readme Dec 9, 2017
.gitignore Initial commit Dec 3, 2017
LICENSE Initial commit Dec 3, 2017
README.md readme Dec 9, 2017
package-lock.json updatedW Dec 4, 2017
package.json updatedW Dec 4, 2017
server.js heroku Dec 9, 2017

README.md

scrapeTHIS

A reddit scraper app. It displays articles scraped into a mongo DB.

Technologies Used

  • nodeJS
  • mongoDB
  • Mongoose DRM
  • Express
  • RESTful API
  • Cheerio & Axios Libraries

API Routes:

Get Routes

  • / renders Index.html
  • /scrape/:reddit Scrapes a particular subreddit
  • /reddit/distinct Returns all distinct subreddits
    • Type: JSON
  • /reddit/:reddit Returns all articles in subreddit
    • Type: JSON
  • /articles Returns all articles from all subreddits
    • Type: JSON
  • /articles/:id Returns all detail about an article
    • Type: JSON

Post Routes

  • /articles/:id Post a note to an article

Delete Routes

  • /note/:id Delete a not by ID