Code Monkey home page Code Monkey logo

amitkpandey / healsense Goto Github PK

View Code? Open in Web Editor NEW

This project forked from iamnijat/healsense

0.0 0.0 0.0 1.04 MB

Take medications on time using a powerful medication reminder app. Made with DDD architecture + Drift + Riverpod + Go Router + Rxdart + Service Locator + Freezed finally with ๐Ÿ’™

Home Page: https://play.google.com/store/apps/details?id=healsense.reminder.app

License: MIT License

Ruby 0.59% C++ 4.87% C 0.32% Objective-C 0.01% Kotlin 0.03% Dart 89.16% Swift 0.45% HTML 0.40% CMake 4.17%

healsense's Introduction

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

healsense's People

Contributors

iamnijat 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.