Giter Club home page Giter Club logo

fake-news's Introduction

Fake News (The Onion) Scraper

This application uses Cheerio to scrape the articles from The Onion. It allows users to save articles to a MongoDB and allows comments to be attached to the saved articles.

Main Screenshot

Instructions

  1. The application is located as follows:

New Articles

New Articles Screenshot

  1. Clicking the New Articles button will scrape the articles off The Onion website and display the headlines linked to the full story on The Onion website. A picture (if available) and summary (if available) of the article are also displayed.

  2. Clicking the Save Article button next to the article headline will save the article's information into a Mongo Database.

Saved Articles

Saved Articles Screenshot

  1. Clicking the Saved Articles button will pull the saved information from the Mongo Database and display the articles as before except with two buttons Delete Article and Comments.

  2. Clicking the Delete Article button will remove the article and all associated comments from the database.

Comments

Comments Screenshot

  1. Clicking the Comments button will open a modal that will allow the user to add a comment to the article. Multiple comments can be associated with the same article and will display in a list just above the new comment text box.

  2. Clicking the x next to the comment will remove just that comment from the database.

fake-news's People

Contributors

bpzimmerman avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.