Homepage Header with button to begin web scrape
Articles scraped from Quillette Magazine. Includes title with link to article and brief summary
Example of a saved note for specific article
This app has been deployed using Heroku in conjunction with mongolab. Access it here
If you prefer to run the application locally, please ensure that you have installed Node.js and MongoDB, then take the following steps:
- Clone this repo locally with
git clone https://github.com/CavanWagg/mongoose-news-scraper.git
. - Install NPM dependencies by running
npm install
in the project directory. - Ensure that you have an active connection to MongoDB.
npm start
from the project directory.- The application will be running at
localhost:3000/
.
- Press the "Scrape For Articles" button at the top of the page to scrape Quillette's web site for news articles. Any new articles will be added to the database
- A given article's title, web link, and brief summary will be displayed on the page for you to read or access.
- To add a note to an article, click the article's summary text to render a Notepad to the right of the page.
- You can save notes or delete an existing note from the database.
- Mongoose
- Express
- Cheerio
- Handlebars
- Node