Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NYT-Mongo-Scraper #370

Open
coding-to-music opened this issue Jan 24, 2022 · 0 comments
Open

NYT-Mongo-Scraper #370

coding-to-music opened this issue Jan 24, 2022 · 0 comments

Comments

@coding-to-music
Copy link
Owner

NYT-Mongo-Scraper

https://github.com/coding-to-music/NYT-Mongo-Scraper

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

https://github.com/stoversa/NYT-Mongo-Scraper

Feature Overview

Scrape the New York Times homepage, then save and add notes to your favorite articles using this responsive application.

NYT Scape Demo

For a live example, see a deployed version to Heroku at https://nyt-mongoscraper-ss.herokuapp.com/

Downloading This Application

To use this application:

  1. Ensure that Node.js, npm, and MongoDB are installed on your machine. For instructions, see the Technologies Used section below.

  2. Next, clone this repo to your local machine:

git clone [email protected]:stoversa/NYT-Mongo-Scraper.git
  1. Open the repo and execute the following in the bash terminal. Doing so should install the application's dependencies:
npm i
  1. Open a different command prompt and start mongoDB on port 27017:
mongod
  1. Open ports 8080 and 27017:
Open ports 8080 and 27017
  1. Run the application from the command line:
node server.js

Technologies Used

  • Node.js and npm. First, this application relies on both Node.js and npm to download Node packages and to run the application. Users can download the latest versions of both using the link to the left.
  • MongoDB - This application assumes users have already installed MongoDB. Installation instructions should be found on the MongoDB website.

NPM Packages

This application utilizes the following NPM packages:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant