A full stack web application for scraping and commenting on articles from the Chicago Tribune newspaper. The data is stored in Mongo DB with the Mongoose framework.
- Create a database called
news
in Mongo DB. - Run NPM install to get the necessary packages
- The program should automatically initialize the collections and insert data when you run the
node server.js
command in your command line.
- Node.JS
- Mongo DB
- Node.JS
- Express
- Handlebars
- Mongo DB
- Mongoose
- Cheerio
- This project can be deployed to Heroku with the mLab database and the
MONGODB_URI
configuration variable on the Heroku settings page.
- To Title Case - A title case conversion function.
- Code Master: Victor - Everything! - Deep Research
- This project was a lot of fun. The asynchronous database queries for the scraper were in a loop, so I had to figure out some clever ways to count them. Writing the jQuery was also very enjoyable. Getting the comment related sections to collapse properly took a surprising amount of trickery.