Skip to content

Latest commit

 

History

History
37 lines (27 loc) · 1.85 KB

README.md

File metadata and controls

37 lines (27 loc) · 1.85 KB

NHC-Assignment

(Abdulaziz Alfaifi) A repository for solving NHC's recruitment assignment

Requirements:

if NodeJS and npm are not installed, please follow this guide: https://reactnative.dev/docs/environment-setup

When NodeJS and npm is already installed:

  • Expo CLI:

    npm install --global expo-cli

  • axios:

    npm install axios

  • React Navigation:

    npm install @react-navigation/native @react-navigation/native-stack

  • Other depenedencies:

    expo install react-native-screens react-native-safe-area-context expo install expo-linear-gradient

Application Launch

navigate to the root directoy of the project and execute the below command:

expo start

and then press (i) to run on iOS simulator or (a) to run on Android Emulator

Test Evidance

Screen Shot 2022-07-29 at 13 20 02

Screen Shot 2022-07-29 at 13 23 12

Screen Shot 2022-07-29 at 13 10 56

Screen Shot 2022-07-29 at 13 20 46

Screen Shot 2022-07-29 at 13 21 17

Note

When getting HTTP Error 429 (exceeded API rating limit), please change the key property (newsAPIKey) inside the file constants/properties.js
To get a new API Key, pelase refer to https://newsapi.org