Skip to content

Mohamedismaell/News

Repository files navigation

πŸ“° News App

A modern, feature-rich News Application built with Flutter, designed to keep you updated with the latest headlines from around the world.

✨ Features

  • Browse News: Access breaking news and top headlines.
  • Categories: Filter news by categories (Business, Entertainment, Health, Science, Sports, Technology).
  • Offline Support: Cache news for offline reading.
  • Search: Search for specific news articles.
  • Dark/Light Mode: Seamless theme switching.
  • Responsive Design: Optimized for various screen sizes.

πŸ› οΈ Tech Stack

This project leverages a robust stack of libraries and tools to ensure performance, scalability, and maintainability:

πŸ“‚ Project Structure

The project follows a Feature-First architecture to ensure scalability and separation of concerns:

lib/
β”œβ”€β”€ core/           # Core functionality (Routes, Themes, Utils, Network)
β”œβ”€β”€ features/       # Feature-based modules (e.g., get_news)
β”‚   └── get_news/
β”‚       β”œβ”€β”€ data/       # Data layer (Repositories, Data Sources, Models)
β”‚       β”œβ”€β”€ domain/     # Domain layer (Entities, Use Cases)
β”‚       └── presentation/ # UI layer (Blocs, Pages, Widgets)
β”œβ”€β”€ main.dart       # Application entry point
└── utility.dart    # General utilities

πŸ“Έ Screenshots

Light Dark

🌐 API Source

This application uses the NewsAPI:

πŸš€ Getting Started

Follow these steps to set up the project locally.

Prerequisites

Installation

  1. Clone the repository:

    git clone https://github.com/Mohamedismaell/News.git
    cd News_App
  2. Install dependencies:

    flutter pub get
  3. Run the app:

    flutter run

πŸ§ͺ Testing

To run the tests:

flutter test

🀝 Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

  1. Fork the project
  2. Create your Feature Branch
  3. Commit your changes
  4. Push to the Branch
  5. Open a Pull Request

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published