The objective is to create an app that summarises the news. It aims to grab all the headlines from the Guardian newspaper API and display them on a page. Clicking on a headline will show a summary of the article.
I first structured off the week's challenge to get the foundation setup. Once I did that, I then started adding in the API and re-edited my code to apply for that. I believe I managed to get halfway with getting the api data but haven't executed it fully via callbacks.
Will return to this project when I have the time to do so.
[Although a work in progress, attempt when updated as mostly done.]
Clone the repo.
git clone https://github.com/thatdania/news-summary-challenge.git
Then change into the directory
cd news-summary-challenge
Make sure you install node and install npm (i.e make sure you have it)
node -v
npm -v
Run the following code to see it on the page
node server.js
Some of these stories will need decomposing if they seem too large.
As a busy politician
I can see all of today's headlines in one place
So I know what the big stories of the day are
As a busy politician
I can click a link to see the original news article
So that I can get an in depth understanding of a very important story
As a busy politician
I can see a summary of a news article
So I can get a few more details about an important story
As a busy politician
I can see a picture to illustrate each news article when I browse headlines
So that I have something nice to look at
As a busy politician
I can read the site comfortably on my phone
Just in case my laptop breaks
As a busy politician
I can see whizzy animations in the app
To make my news reading more fun