Cretaed by: Juan I Diaz (jdi@idiaz.ca)
Date: March/April 2019
This FULL STACK project is a news scraper that will extract 20 of the latest "top sptories" in CBC News (Canadian Broadcast Corporation) RSS feed using node.js and other packages and frameworks. The result of the scraping will be saved in a non sequencial database (MongoDB). Once displayed, the articles can be saved and the user can add comments. These comments are kept in the database and can be read by other users.
- This project has been deployed to Heroku, please enter to access https://idiaz-scraper.herokuapp.com/ to see the project.
- If the site doesnt show any stories click on the (red)
"GET NEW ARTICLES!!!"
button to get the latest 20 top stories. - Once the stories have been extracted, will be presented in the landing page showing their category, thumbnail image, title and author.
- Along with the information mentioned above, there will be a link to
GO TO ARTICLE
(to read the actual article) and toSAVE ARTICLE
. This last, will allow the user toSEE COMMENTS
posted on this story. - When an articlo is saved and the
SEE COMMENTS
is clicked, a second window (a modal) will display any old comments for this story as well as the option to add a new comment. In this window the user can delete any of the past comments.
- There is a direct API link to receive (in JSON format) all the news stories in the system. If needed just add
/all
to the end of the URL.
- FRONT END
- HTML, CSS
- Javascript and jQuery
- Bootstrap and MDBootstrap
- BACK END
- node.js
- Express
- Handlebars
- Mongoose
- Axios
- Cheerio
- DotEnv
- NodeMon
- Deployment
- Mongo DB (mLab MongoDB)
- Heroku
- Feel free to contact the developer @ jdi@idiaz.ca!
- See the project live.