GitHub 儲存庫iamnijat/healsense

healsense

使用強大的藥物提醒應用程式按時服藥。採用 DDD 架構 + Drift + Riverpod + Go Router + Rxdart + 服務定位器 + Freezed,最終以 💙 完成

healsense 專案封面
星標
101
分支
31
最近推送(UTC)
2026年8月5日
專案狀態
未封存

原始 README

以下為英文專案原文快照,最新內容請造訪 GitHub。

GitHub Workflow Status (branch) GitHub forks GitHub stars GitHub watchers GitHub contributors GitHub last commit GitHub top language

Flutter Healsense Application

Frame 1

Instructions

Every code structure for this application is open source apart from GOOGLE_MAPS_API_KEY. Since this is an application in production, you must get GOOGLE_MAPS_API_KEY, create .env file on the top of the project, and include the key right there for running the app successfully.

Supported Null safety

Project architecture (DDD Architecture Approach)
1. Why:
* We want to determine what types of database that we use for storage (might want to change it later on)
* We want to adhere to SOLID principles since we are using OOP for this project.
* We want to ensure that UI layers do not care what is going on at the data layer at all.
* We might want to separate each layer into different packages.
2. Application - Di - Domain - Infrastructure - L10N - Presentation.
3. Presentation layer consist of
* Pages
* Widgets
4. Domain layer
* Core (Value objects, Failures)
* Repositories interface
* Entities
* Typically one function, but can be more if functions are related.
* Remember, one class has one responsibility only.
5. Infrastructure layer
* Core
* Data Source
    * locals (Database)
    * remotes (API)
* Repositories (Implementation from Domain layer)
* Models
* Services
6. Application layer
* State Management solution (Riverpod Binding Framework)
* States according to that framework
* Notifiers according to that framework
7. More insight of layers

DDD-Flutter-Diagram-v3

DI pattern

Dependency Injection is a great design pattern that allows us to eliminate rigid dependencies between elements and it makes the application more flexible, easy to expand scales and maintain. In the project we use Plugin injectable and get_it to implement DI and we have also defined classes so you can easily implement DI in the DI layer.

Routes

The project has predefined Named routes (Go Router)

resources
  * All resources (images, fonts, videos, ...) must be placed in the assets class
Getting started

Get dependencies and generate necessary files.

We'll handle the generation of required files for 🚀 your onboarding!

Localization

Using this library to handle multi-languages. Follow this guide to understand and config languages files


You've done entire steps correctly and I make sure that this project will have paramount effect on your progress learning Flutter

Nijat Namazzade GitHub avatar
GitHub 作者

Nijat Namazzade ↗

@flutter @react-native engineer, interested in @nodejs

Baku, Azerbaijan官方網站 ↗
語言DartC++CMakeSwiftRubyHTMLCKotlinObjective-C

分類

使用的依賴

依賴清單 37 項

所在榜單

如何選擇適合專案的儲存庫?

先依使用情境篩選,再比較專案活躍情況,最後到原始儲存庫確認使用要求。

  1. 透過儲存庫名稱、作者或描述搜尋,再依技術分類縮小範圍。
  2. 綜合星標、分支與最近推送比較專案;星標反映社群關注,不保證品質。
  3. 使用前在 GitHub 確認 README、授權條款與 Issues。

來源與維護

“A repository is the most basic element of GitHub.”

GitHub Docs — About repositories ↗