News Scraper with MongoDB, Mongoose ORM, Node, Express and Handlebars
This is a full stack news application which allows users to view and leave comments on the latest New York Times articles.
The user has the following options:
- View previously scraped articles.
- View saved articles.
- Scrape the New York Times for new articles.
While viewing previously scraped articles, the user has the option to delete the article from the database or save the article.
While viewing saved articles, the user has the option to delete the article from the saved list (not from the database) or add a note.
Each time the user scrapes the New York Times for articles, the application informs the user of how many new articles were scraped.
Please refer to the video below for details regarding how the app works.
You should be able to download the files via the github pages link below and run locally on your computer: https://github.com/emswann/News-Scraper.
The application has also been published on Heroku: https://news-scraper-ems.herokuapp.com/.
NPM install based on package.json.
- MDBootstrap - Front-end HTML, CSS, javascript framework for creating responsive web applications.
- JavaScript - Programming language.
- jQuery - Javascript library.
- node.js - Server side programming language.
- express - Web application framework used for server side routing.
- express-handlebars - Middleware template engine used to render HTML templates.
- body-parser - Middleware parser used for incoming request bodies.
- cheerio - node.js package which parses markup and provides an API for traversing/manipulating the resulting data structure.
- request - Simplified node.js HTTP request client..
- mongoose - Promised based ORM for using MongoDB in Node.js
- dotenv - Loads environment variables from .env file.
Please feel free to offer any suggestions. As always, programming is a work of art in progress.
- Elaina Swann - Github
