/news-api

Primary LanguageJavaScript

NODEJS - NEWS-API

The Project scrapes headlines form a news portal and returns json file containing the headline and url to the article

To run the project

You can run this project on your local machine. Download the project on local machine and follow the instructions below:

npm i

  1. Run the command above to install all the packages

Start the Project

  1. Now run the server:
npm run start
  1. Open http://localhost:8000/articles in browser or from terminal

Reference

Reference code from https://github.com/kubowania/nodejs-webscraper