news_app_eyepax_practical

The project created in flutter using BLoC and Clean Architechture. clone the project and checkout the development branch.

Getting Started

To maintain the minimal implementation use Flutter Clean architecture and repository code consist with basic component like app architecture, constants, dependancy injection and bloc pattern.

How to use

Step 1:

Download or clone this repo by using the link below:

https://github.com/IsuruBRanapana/Eyepax-interview.git

Step 2:

Go to project root and execute the following command in console to get the required dependencies:

flutter pub get

Step 3:

Use the following command to generate files.

flutter packages pub run build_runner build --delete-conflicting-outputs

Features

Splash
Login
Routing
Dio
DashBoard
Hive
BLoC (State management)
Dependency Injection
Clean Architecture
Flavor configurations
Error handling

Libraries and Tools

Dio
Hive
Dependency Injection
Json Serialization
BLoC

Folder Structure

nexs_app_eyepax_practical (root)

  • android

  • ios

  • lib

  • linux

  • macos

  • test

  • web

  • windows

lib folder structure

  • core
    • configurations
    • error
    • services
    • usecase
    • util
  • features
    • data
      • datasources
      • models
      • repositories
    • domain
      • entities
      • repository
      • usecases
    • presentation
      • bloc
      • common
      • views

Conclusion

Use Clean architecture to reduce code dependencies and encapsulate the business logic.

Eyepax-interview