/hacker-news-test

Demonstrating the use of redux saga to fetch data from hackernews

Primary LanguageTypeScript

Solomon Exam

Technology used:

  • react-native
  • redux saga
  • redux
  • expo
  • typescripts

Working Demo:

To test this working app, you can use Expo.io or go to this link: https://expo.dev/@fr3em1nd/hacker-news. For iOS you need to contact me to access the app. But for Android, this should work out of the box.

If you have Expo on your computer, you can scan this expo QR Code: Expo QR.

sample output

Sample Output.

Hacker News with Redux State

Create a React Native app that displays 10 randomized Hacker News top stories using the Hacker News API (https://github.com/HackerNews/API).

The stories must be listed in ascending order based on the stories score.

The UI must include:

  • Story title

  • Story URL

  • Story timestamp

  • Story score

  • Author id

  • Author karma score

Hint: You’ll be needing the following endpoints:

Requirements:

  • Use latest version of React Native

  • Application must be written in TypeScript

Bonus Points:

  • Make sure the data is stored and fetched through a global state (It's ok to use 3rd party dependencies)