Skip to content

Latest commit

 

History

History
96 lines (52 loc) · 2.25 KB

README.md

File metadata and controls

96 lines (52 loc) · 2.25 KB

News Scraper

Full Stack website that scrapes headlines from LA Times

Description

This full stack web site scrapes story headlines from the LA Times and allows for user comments to be added/removed to each story. Headlines, summary, link and comments are stored in a mongo database.

  • Front-End Technology

    • HTML, CSS, JavaScript (ES6), jQuery, Bootstrap, Handlebars

    Back-End Technology

    • Node.js, Express.js, mongo.js, mongoose ORM, JavaScript (ES6), NPM packages (axios, cheerio,express, mongoose, morgan), Heroku

Details:

dorm-demo

Screen Captures:

home page

home-page-img

comment section

survey-page-img

Getting Started

Native and NPM Packages Used

  1. express - for interactive command line response
  2. mongoose - for database connectivity
  3. axios - for web page scraping
  4. cheerio - for JQuery like selection experience in node
  5. handlebars - templating engine for rendering home page

Dependencies

  • none -

Installing

  • none necessary - use link to page deployed on Heroku

Executing program

  • scrape new stories via nav button
  • click on story comment button to open comment section
  • add and delete comments
  • link to LA Times story

Possible Enhancements

  • allow user to mark stories as saved and purge old stories from db

Authors

Myles Carey [email protected]

Version History

  • 1.0 - Initial Release

License

Acknowledgments

Thanks to beta testers - my 15yo & 17yo daughters and wife