Coder Social home page Coder Social logo

buisness-manager's Introduction

Business Manager

Business Manager is a mobile application designed to help manage customers, suppliers, and branches efficiently. This app is built using Flutter and leverages the Provider package for state management.

Features

  • Branch Management: Add, update, delete, and view branches.
  • Customer and Supplier Management: Add, update, delete, and view customers and suppliers associated with branches.
  • Transaction Management: View transactions associated with customers and suppliers.

Screens

  • Branch List Screen: Displays a grid of branches.
  • Customer/Supplier List Screen: Displays a list of customers or suppliers for a selected branch.
  • Customer/Supplier Create Screen: Form to add new customers or suppliers.
  • Customer/Supplier Update Screen: Form to update existing customers or suppliers.
  • Transaction List Screen: Displays transactions for a selected customer or supplier.

Architecture

The app follows the Clean Architecture principles combined with the MVVM (Model-View-ViewModel) pattern to ensure a scalable, maintainable, and testable codebase.

Layers

  1. Presentation Layer:

    • UI: Contains all the UI code and widgets.
    • ViewModel: Manages the state and handles user interactions, communicating with the domain layer.
  2. Domain Layer:

    • Entities: Basic data objects used across the application.
    • Use Cases: Encapsulates business logic and interacts with the repository to fetch/update data.
  3. Data Layer:

    • Models: Data models for API responses.
    • Repositories: Interfaces defining data operations.
    • Data Sources: Implements data operations, fetching data from network or local database.

MVVM Pattern

  • Model: Represents the data and business logic.
  • View: Displays the data (UI).
  • ViewModel: Acts as a mediator between the Model and the View, handling presentation logic and state management.

Project Structure

  • lib/
    • model/
      • core/: Core utility classes and constants.
      • helper/: Helper classes and functions.
    • modules/
      • admin/
        • model/
          • core/
            • service/
              • remote/: Contains remote data source implementations.
            • response_model/: Data models for API responses.
            • request_model/: Data models for API requests.
        • view/: Contains admin-related UI screens and widgets.
        • viewModel/: Contains ViewModels for admin module.
      • auth/
        • model/: Contains models for authentication module.
        • view/: Contains authentication-related UI screens and widgets.
        • viewModel/: Contains ViewModels for authentication module.
      • branch/
        • model/: Contains models for branch module.
        • view/: Contains branch-related UI screens and widgets.
        • viewModel/: Contains ViewModels for branch module.
      • customer/
        • model/: Contains models for customer module.
        • view/: Contains customer-related UI screens and widgets.
        • viewModel/: Contains ViewModels for customer module.
      • transaction/
        • model/: Contains models for transaction module.
        • view/: Contains transaction-related UI screens and widgets.
        • viewModel/: Contains ViewModels for transaction module.

Getting Started

Prerequisites

  • Flutter SDK: Install Flutter

  • Dart SDK: Comes with Flutter installation

  • You can download the latest APK from the link below:

Installation

  1. Clone the repository:

    git clone https://github.com/AAShayon/Buisness-Manager.git
    cd business_manager

Configuration Update the API endpoints and other configurations in lib/model/core/api_urls.dart.

#Dependencies

----provider

----dio

---flutter_screenutil

---intl

---connectivity

APK Download Download Business Manager APK

buisness-manager's People

Contributors

aashayon avatar

Watchers

 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.