An open API service indexing awesome lists of open source software.

https://github.com/afnanalmohd/mvc_concep

this sample code describe the MVC architectural pattern with Obx in Getx Flutter.
https://github.com/afnanalmohd/mvc_concep

dart flutter getx mvc

Last synced: 3 months ago
JSON representation

this sample code describe the MVC architectural pattern with Obx in Getx Flutter.

Awesome Lists containing this project

README

        

the garage logo

# The Garage QR Reader App


**QR Reader** was completed by TheGarage
mobile application development team. It is built using Flutter.
The team used Getx framework for state management.
The primary goal of the QR Reader is to scan barcodes and verify event invitations. The QR code will be used to determine the status of the barcode, indicating whether the login was successful or if the event is closed or has ended.


## ✨ Features

βœ” Authentication by using email addresses.

βœ” Display all events on the homepage.

βœ” There are states for scanning, including successful scans, end of event, and close event.


## πŸš€ Getting Started

Before installing , make sure you have the following prerequisites installed:

- Flutter: See Flutter's installation guide for instructions on how to install Flutter.

Once you have the prerequisites installed, follow these steps to install:

1. Clone the project repository to your local machine.
2. Navigate to the root directory of the project.
3. Run `flutter pub get` to install the required dependencies.
4. Run `flutter run` to launch the app.

## πŸ”Ž Folder Structure

This Project follows the Model-View-Controller (MVC) design pattern and uses GetX for state management. The primary directory structure consists of three main folders: Common, Core, and Features.

```bash
mbshir
β”œβ”€ ios/
β”œβ”€ android/
β”œβ”€ assets/
β”‚ β”œβ”€ images/
β”‚ β”œβ”€ icons/
β”‚ β”œβ”€ lottie/
β”œβ”€ lib/
β”‚ β”œβ”€ common/
β”‚ β”œβ”€ core/
β”‚ β”‚ β”œβ”€ binding/
β”‚ β”‚ β”œβ”€ constant/
β”‚ β”‚ β”œβ”€ localization/
β”‚ β”‚ β”œβ”€ route/
β”‚ β”‚ β”œβ”€ theme/
β”‚ β”œβ”€ feature/
β”‚ β”‚ β”œβ”€ controller/
β”‚ β”‚ β”œβ”€ service/
β”‚ β”‚ β”œβ”€ model/
β”‚ β”‚ β”œβ”€ screen/
β”‚ β”‚ β”œβ”€ widget/
β”‚ β”œβ”€ main.dart
β”œβ”€ .env
β”œβ”€ pubspec.yaml

```
### Common:

Common file is directory typically contains code shared throughout the application. Common elements found here include utility classes and custom widgets.

### Core

Core file directory generally holds foundational code and essential business logic for the application. This may encompass functionalities like binding, routing, localization, themes, and other critical components that are used throughout the app

### Features

All the features in the app are organized into folders named after each feature. Each of these folders contains related files, including controller, model, service, screen, and widget

## πŸ’Ό Technologies

| library | Usage
| :-------- | :------------------------- |
| Getx | State management , navigation, dependency management.|
| Get storage | Backs up data to disk. |
| Http | Allow you to make individual HTTP. |
| Http Interceptor| intercept the different requests and responses from http |
| Dotenv| This library parses that file and merges its values with environment.|
| QR Code Scanners| QR code scanner that works on both iOS and Android|

### Languages:

[![Arabic](https://img.shields.io/badge/Language-Arabic-yellow?style=for-the-badge)](README.md)

## Demo app

## πŸ¦Έβ€β™€οΈ SuperHere

- Hanan Asiri.
- Razan Ajohani.
- Khairiah Alayyafi.
- Joud Almahdi.
- Afnan Almohammdi.