Skip to content

Latest commit

 

History

History
20 lines (12 loc) · 634 Bytes

README.md

File metadata and controls

20 lines (12 loc) · 634 Bytes

climate-change-api

Here is an example of an API that collects all news articles to do with climate change I coded this from watching a youtube tutorial on creating APIS

To run this project

You can run this project on your local machine. Just pull it down and do the following:

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/news with your browser to see the results of the scrape in your terminal. You can also used certain parameters to get news from individual sources.