Giter Site home page Giter Site logo

makindemayowa / naijnews Goto Github PK

View Code? Open in Web Editor NEW

This project forked from andela-mmakinde/checkpoint1

0.0 1.0 0.0 10.87 MB

View news headlines across the world.

Home Page: https://naijnews.herokuapp.com

CSS 11.30% HTML 0.69% JavaScript 88.00%

naijnews's Introduction

Build Status Coverage Status Code Climate

newsApp

A news feed application that delivers news headlines ranging from sports, to politics, business, entertainment, etc. from sources all around the world. It allows you to view news headlines from different news sources globally(e.g Al Jazeera,BuzzFeed, CNN, Bild, Ars Technica, BBC Sport, Mirror, MTV News, TechCrunch e.t.c). With newsApp, Users can access the page to view the news sources avalaible to view articles from without logging in and can also search through a list of the news sources. But they will be required to login with Google+ in order to view news articles, sort headlines for these news sources based on options(Top, Latest, Popular).

Development

newsApp is built using ReactJS, React-router for routing and it consumes a public api from the endpoints on newsapi.org. The tests have been written using Mocha, Chai expect syntax and Enzyme.

Features

  • Google+ sign-in
  • List of news sites available.
  • View news for preferred source.
  • Sort through news headlines(Top, Latest, Popular).

User Guide

  • Visit https://naijnews.herokuapp.com to use this app.
  • When the app has started, a list of sources available to view news articles from is displayed.
  • Users would be required to login to read news articles based on the sources listed.
  • Users can sort the article based on the sort parameters provided on the top-left corner of page.

Local Setup

  • Clone the project from repository https://github.com/andela-mmakinde/checkPoint1.git
  • In your terminal, cd into the cloned folder and run 'npm install'. This installs all the app's dependencies.
  • Run npm run dev, open browser, and type 'localhost:8080'. This runs the application on your localhost.

How To Contribute

  • Fork this repository and clone the repository.
  • Make all changes in a new feature branch.
  • Create a pull request to the develop branch of this repo stating the features you implemented in your PR.

Core Technologies

Resources

  • News api: provides endpoints for news sources and headlines (newsapi.org)

Limitations

  • Users cannot bookmark/favourite headlines currently
  • Users cannot view Articles within the application.

License

  • MIT

Author

Mayowa Makinde Contact

naijnews's People

Contributors

andela-mmakinde avatar

Watchers

James Cloos avatar

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.