/rn-news-app

A simple app that shows news from newsapi.org build using React Native.

Primary LanguageJavaScript

News

An app that shows the latest news compiled frm multiple sources. Powered by https://newsapi.org/

Build using React Native

Screenshots

home search articles

Features

  • ✅ Beautiful minimal UI
  • ✅ Search articles
  • ✅ Brief overview of the article
  • ✅ Selectable country source
  • ✅ State fully managed with Redux
  • ✅ Api calls handled with Redux-sage middleware

Getting Started

Prerequisites

Setup react native using the official documentation. facebook.github.io

Installing

  1. clone the repository
  2. run npm install in the repository directory

API key

  1. get an api key from https://newsapi.org/docs/get-started
  2. create a file called key.js in /src/api
  3. export the key as NEWS_API_KEY eg: export const NEWS_API_KEY = 'YOUR_KEY_HERE';

Build and Run

react-native run-ios

or

react-native run-android