You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using Mongoose, Node JS, Cheerio, NDTV news website is scraped and data is loaded into Mongo DB database
This is a full-stack JavaScript app built using MongoDB, Mongoose, Node.js, Express.js, Handlebars.js, HTML, and CSS. It scrapes the NDTV homepage and stores article titles and links
Get new articles, save favorites, and write notes
To see updated news stories, click Get new articles at the top of the Home page. To view the full article, click the View article on NDTV link.
When you see an article in the list that you want to mark as a favorite, click Save article, and read it again by clicking Saved articles in the top menu bar. After you have an article in your saved list, you can comment on it by clicking Add note.
Note: There is no login system, so all saved articles and comments are visible to and can be deleted by all users.
Local set up for development purposes
These must be installed to run the app locally: For any Node JS projects, this is the mandatory step
Visual Studio Code is the best IDE to code Node JS and Mongoose related projects
Important instructions
You first need to make a local MongoDB database named ndtvnews.
Then, in a terminal window, navigate into the folder where you downloaded this app and type npm install. All the dependencies mentioned in package.json file will be installed and this is a mandatory step
To start the app, type node server.js and open your browser to localhost:3000.
In case if 3000 port is used by some other process in your system, feel free to change the port number in "server.js"
set the file .env with connection details for MongoDB Atlas (get from the Atlas dashboard)
NdtvNewsScraperUsingMongoDB
https://github.com/coding-to-music/NdtvNewsScraperUsingMongoDB
https://github.com/raj123raj/NdtvNewsScraperUsingMongoDB
Using Mongoose, Node JS, Cheerio, NDTV news website is scraped and data is loaded into Mongo DB database
This is a full-stack JavaScript app built using MongoDB, Mongoose, Node.js, Express.js, Handlebars.js, HTML, and CSS. It scrapes the NDTV homepage and stores article titles and links
Get new articles, save favorites, and write notes
To see updated news stories, click
Get new articles
at the top of theHome
page. To view the full article, click theView article on NDTV
link.When you see an article in the list that you want to mark as a favorite, click
Save article
, and read it again by clickingSaved articles
in the top menu bar. After you have an article in your saved list, you can comment on it by clickingAdd note
.Note: There is no login system, so all saved articles and comments are visible to and can be deleted by all users.
Local set up for development purposes
These must be installed to run the app locally: For any Node JS projects, this is the mandatory step
IDE
Visual Studio Code is the best IDE to code Node JS and Mongoose related projects
Important instructions
ndtvnews
.npm install
. All the dependencies mentioned in package.json file will be installed and this is a mandatory stepnode server.js
and open your browser tolocalhost:3000
.set the file
.env
with connection details for MongoDB Atlas (get from the Atlas dashboard)To start the app, type
node server.js
and open your browser tohttps://localhost:3000
Technology
The text was updated successfully, but these errors were encountered: