Skip to content

EGartland/MongoDB

Repository files navigation

NYT Sports Scraper

Build Status

This is a Node.js application that utilizes Cheerio and a MongoDB back-end to scrape and save NYT Sports articles to a Bootstrap UI.

NYT Sports Scraper

Built With

  • Node.js - Javascript runtime network

  • Heroku - For application deployment

  • NPM - Dependency Management

  • Bootstrap - CSS Framework for Styling

  • Express.js - Web framework for Node.js

  • MongoDB - Database Used for Development

  • Axios - 'Scraping' method; Promise based HTTP client for the browser and node.js

  • Travis CI - Test and deploy code

Author

Operation

  1. Clone this repository to your local system.

  2. Open terminal.

  3. Navigate to the appropriate folder, and install all required packages ('mongojs', 'express', 'express-handlebars', 'body-parser', 'express-handlebars', 'cheerio', 'mongoose', 'morgan', 'axios', and 'handlebars').

  4. Run the command npm i to install node modules.

  5. Then run node server.js, open your web browser, and navigate to your localhost.

  6. Or simply navigate to the deployed application on Heroku at https://mongodbnyt.herokuapp.com/.

Functionality

Scrape for Most Recent Articles

Output Sample

View Saved Articles

Output Sample

Leave/View Comments

Output Sample

About

MongoDB deployed at Heroku

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published