Skip to content

A news application that shows articles based a user's current location as well as other categories for locations such as Kampala (Uganda), Kigali (Rwanda), Nairobi (Kenya), Lagos (Nigeria), and New York (USA).

Notifications You must be signed in to change notification settings

wasswa-derick/Jambo

Repository files navigation

CircleCI Maintainability Test Coverage

Jambo

A news application that shows articles based a user's current location as well as other categories for locations such as Kampala (Uganda), Kigali (Rwanda), Nairobi (Kenya), Lagos (Nigeria), and New York (USA).

Screenshots

Screenshot_2019-05-05-01-07-24 Screenshot_2019-05-05-01-09-18 Screenshot_2019-05-05-01-10-12 Screenshot_2019-05-05-01-10-38 Screenshot_2019-05-05-01-11-18 Screenshot_2019-05-05-01-11-35 Screenshot_2019-05-05-01-11-45 Screenshot_2019-05-05-01-12-00 Screenshot_2019-05-05-01-12-11 Screenshot_2019-05-05-01-13-05 Screenshot_2019-05-05-01-13-16 Screenshot_2019-05-05-01-13-31 Screenshot_2019-05-05-01-13-37 Screenshot_2019-05-05-01-14-45 Screenshot_2019-05-05-01-13-59

Getting Started and Installation

  1. Open up the terminal and clone the repository under any directory using git clone https://github.com/wasswa-derick/Jambo.git.

  2. In Android Studio, under the file menu select open, then select an existing project and navigate to the project you just cloned.

  3. Build the project using ./gradlew build.

  4. Run the application on a connected device or emulator.

Prerequisites

  1. Set up Android Studio

  2. Enable Kotlin in Android Studio

  3. Run application on emulator

  4. Run application on android device

Running the tests (Unit and Instrumentation tests)

  1. Run tests using ./gradlew test or ./gradlew jacocoTestReport.

Unit tests can be run using one of the following:

./gradlew test

Jacoco Tests report (Run both instrumented and unit tests at once).

./gradlew jacocoTestReport
  1. To run instrumentation tests, endeavor to have an emulator or an Android Device connected either via USB or WIFI.

Architecture

  • Model View ViewModel (MVVM)

Consumed API Endpoints

    https://newsapi.org/v2/everything?q={query}&apiKey={key}

Dependencies

Authors

Derick Wasswa

Credits

All props to NewsAPI.org for availing the service.

About

A news application that shows articles based a user's current location as well as other categories for locations such as Kampala (Uganda), Kigali (Rwanda), Nairobi (Kenya), Lagos (Nigeria), and New York (USA).

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published