Git Product home page Git Product logo

react-nat-news-app's Introduction

News App with JavaScript and React Native

This app is a simple and easy-to-use API that returns JSON metadata for news headlines and articles live from NewsAPI.org using React Native.

Project Status - Completed: 07/17/2018


Table of Contents

  • Description
  • What I Learned From The Exercise
  • Website Technologies Used
  • How to Use This App
  • File and Directory Structure
  • Resources
  • License
  • Revision History

Description

A breif tutorial on how to work with react-native, and newsapi.org to return JSON metadata for news headlines and articles live from NewsAPI.org and outputting the returned results via react-native.


What I Learned From The Exercise

  • How to work with and consume the News API, Fetch API and FlatList
  • How to start working with React-Native
  • How to do a pull down to refresh on a native app
  • Linking

Website Technologies Used

Description of website technologies used to develop this app.

  • HTML
  • CSS
  • JavaScript
  • Node.js
  • React Native
  • Bootstrap

Libraries used

  • moment
  • react-native
  • react-native-elements
  • react-native-vector-icons

Requirements: Android Studio or Xcode, npm, and React Native.


How to Use This App

  • Install the dependencies by runinning npm i
  • Run react-native run-android or react-native run-ios depending on your platform.

File and Directory Structure

.
├── assets
│   │
│   └── img
│       │
│       └── favicon.ico
├── src
│   │
│   ├── components
│   │   │
│   │   └── Article.js
│   │
│   └── news.js
│ 
├── .gitignore
│ 
├── App.js
│ 
├── app.json
│ 
├── index.js
│ 
├── LICENSE
│ 
├── package-lock.json
│ 
├── package.json
│
└── README.md     
       

Resources

Article How to build a news app with JavaScript and React Native

GitHub msal4/royal_news

Medium FreeCodeCamp How to build a news app with React Native

API key and for more information on NewsAPI.org


License

Royal News is MPL licensed


Revision History

Description of revisions - Completed: 07/17/2018

  • Dev - file and directory structure updated - 07/17/2018
  • Dev - completed code - 07/17/2018

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.