healsense
強力な薬のリマインダー・アプリを使って、正確な時間に薬を服用しましょう。DDDアーキテクチャ+Drift+Riverpod+Go Router+Rxdart+サービスロケータ+Freezedで作成され、最後に💙で完成
- スター
- 101
- フォーク
- 31
- 最終プッシュ(UTC)
- 2026/08/05
- プロジェクト状態
- 公開中
元の README
以下は英語原文のスナップショットです。最新版は GitHub をご覧ください。
Flutter Healsense Application
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
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
カテゴリー
使用している依存関係
依存関係一覧 37 件
- badges
^3.1.2 - cupertino_icons
^1.0.8 - drift
^2.3.0 - equatable
^2.0.5 - fimber
^0.7.0 - flutter_dotenv
^5.1.0 - flutter_local_notifications
^17.2.1 - flutter_localizations
{"sdk":"flutter"} - flutter_riverpod
^2.1.1 - flutter_screenutil
^5.9.3 - flutter_svg_provider
^1.0.7 - fpdart
^0.4.0 - freezed_annotation
^2.4.1 - geolocator
^12.0.0 - go_router
^14.2.1 - google_maps_flutter
^2.7.0 - http
^1.2.2 - intl
^0.20.2 - json_annotation
^4.9.0 - nil
^1.1.1 - path
^1.9.0 - path_provider
^2.1.3 - riverpod_annotation
^1.0.6 - rxdart
^0.28.0 - shared_preferences
^2.2.3 - shimmer
^3.0.0 - sqlite3_flutter_libs
^0.5.24 - timezone
^0.9.4 - url_launcher
^6.3.0 - build_runner開発用
^2.4.11 - drift_dev開発用
^2.3.3 - flutter_launcher_icons開発用
^0.13.1 - flutter_lints開発用
^4.0.0 - flutter_test開発用
{"sdk":"flutter"} - freezed開発用
^2.4.1 - json_serializable開発用
^6.8.0 - riverpod_generator開発用
^1.0.6
ランキング
プロジェクトに合うリポジトリを選ぶには?
用途で絞り込み、開発状況を比較し、採用前に元のリポジトリで要件を確認しましょう。
- 名前・作者・説明で検索し、技術トピックで絞り込みます。
- スター、フォーク、最近のプッシュを比較します。スターは関心の目安であり、品質の保証ではありません。
- 利用前に GitHub で README、ライセンス、Issues を確認します。
情報源と管理
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗
