Home

Awesome

News App

This is a News App built using Kotlin and Jetpack components following the Clean Code architecture. It utilizes the Paging Library for efficient data loading, Dagger Hilt for dependency injection, and Retrofit to fetch news from the News API.

https://github.com/mohitdamke/NewsApp/assets/112572179/0cda068f-8806-41b9-9570-3e900bdb7ec5

Features

Architecture

The app is built using the Clean Code architecture, which divides the code into three main layers:

  1. Presentation Layer: Contains UI-related components such as Activities, Fragments, and ViewModels.
  2. Domain Layer: Contains business logic and use cases.
  3. Data Layer: Manages data sources such as APIs and databases.

Tech Stack

Setup and Installation

  1. Clone the repository:

    git clone https://github.com/mohitdamke/NewsApp
    
  2. Open the project in Android Studio.

  3. **Get your News API key from NewsAPI

  4. Build and run the project.

Usage

Once the app is installed and running, you can browse the latest news articles. The app will efficiently load news articles using the Paging Library, ensuring a smooth user experience even with large data sets.

Screenshots

WhatsApp Image 2024-07-03 at 3 08 59 AM WhatsApp Image 2024-07-03 at 3 08 59 AM(1) WhatsApp Image 2024-07-03 at 3 08 59 AM(2) WhatsApp Image 2024-07-03 at 3 09 00 AM(1) WhatsApp Image 2024-07-03 at 3 09 00 AM(2) WhatsApp Image 2024-07-03 at 3 09 01 AM

Contributing

Contributions are welcome! Please open an issue or submit a pull request for any changes.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Acknowledgements