This is a challenge by Coodesh
This app consumes a REST API and displays news from Spaceflight News API.
- Node.js
- React
- axios
- HTML
- CSS
- 'SEARCH': search/filter articles fetched by terms contained in the titles.
- 'SORT': sort the articles fetched by oldest or newest date.
- 'Ver Mais': each article has a BUTTON that sends you to the full article on the original page.
- 'Carregar Mais': fetch 5 more articles and display them with the previous ones.
- Clone the repo
git clone https://github.com/welbhen/spaceflightnews-frontend
- Run the back-end REST API locally on port 8000 or change the:
/web/src/services/api.js
with the proper endpoint URL
- Run
npm start