Skip to content
Emma edited this page Jul 29, 2019 · 1 revision

Welcome to the News-App-Demo wiki!

Front End

App.js Main application file- This is a class based component as it’ll basically serves as the wrapper component for every other component.

Feed.js A class based component which displays news articles - will display the latest headlines by default.

Search.js A class based component which allows the user to search for articles containing specific search terms, passes them back to Feed.js for display.

Back end

CORS : All origins and headers allowed

Get Latest Headlines

URL : /headlines

Method : GET

Search News

URL : /filter?q=searchTermsHere

Method : GET

Params required : q - the term to search for

Clone this wiki locally