/Shorts

React-Native news reading application

Primary LanguageJavaScript

Shorts

Project Proposal

Problem: Time is of the biggest importance to humans in our fast-paced society, hence it is crucial that the items he/she consumes are likewise time-efficient. People these days have a relatively short attention span, so we attempt to make the most of the little extra time that we have. So the question is, how can we encourage the most user interaction given the user's limited attention span?

Solution: It is crucial that our apps operate quickly in this fast-paced environment. The user could make the most of his time if he could access the most information in the shortest amount of time possible. And so I have come up with an application called - Shorts. It’s aimed at people who love to stay updated with the current news but struggle to find some wiggle room to watch their favorite news channels or the ones who don’t really like reading the newspaper but prefer getting their daily dose of the news from online resources or for people who want to inculcate a new habit of reading news, this application is the perfect place. The app provides news of a variety of categories in form of a brief descriptive summary of each news. Cutting through all the unnecessary noise that is usually included in online news articles, this app aims to serve you only the important content and save you your time.

Demo

Shorts.-.A.summarized.news.application.built.using.React.Native.mp4

Tech Stack and API

  • React Native: React Native combines the best parts of native development with React, a best-in-class JavaScript library for building user interfaces.
  • News Catcher API: This API allows users to locate articles and breaking news headlines from news sources and blogs across the web. Link: https://newscatcherapi.com/

UI Wireframing

Home Page





 
Search Bar                                     Search Result


Textual Search Functionality





News Page





Voice activated Search


Final Outcome:


Home Page





             
Search Bar                                     Search Result


News Page


Textual Search Functionality





             
Search Bar                                     Search Result


News Page

Voice activated Search


Steps to run the project:

1. Setup React Native CLI -

2. Clone the repo -

  • Once you are done setting up React Native CLI on your machine, open a new folder and clone the repo.

3. How to run -

  • Create account on NewsCatcher API
  • Create a new apis folder inside src folder and create an API.js file.
  • Add your NewsCatcher API key to the API.js as API_TOKEN
  • Additionally, also include the base URI - https://api.newscatcherapi.com/v2/ for NewsCatcher as API_URL in API.js
  • Run npm install to install node dependencies from the package.json.
  • If building project for IOS
    • Run cd ios and then pod install to install pod dependencies. Run cd .. to go back to root directory of the app
    • Follow the instructions here to prevent/debug build
  • Run the app from terminal with npm run ios or npm run android