Giter Site home page Giter Site logo

thylnk / happy-care-mobile Goto Github PK

View Code? Open in Web Editor NEW

This project forked from dungngminh/happy-care-mobile

0.0 0.0 0.0 26.19 MB

PBL4: Online Health Consultation Application built with Flutter

Objective-C 0.01% Kotlin 0.03% Dart 99.85% Swift 0.11%

happy-care-mobile's Introduction

Happy Care

Online Health Consultation Application built with Flutter for Client, ExpressJs for Backend Server (private repo sorry 😣).

All Contributors Codacy Badge Flutter

Features

  • Finding doctors, specializations by symptoms. (Currently, the feature is based on database, will upgrade with machine learning later)
  • Getting online doctors, busy doctors.
  • Asking member user about feeling today for finding doctor (30 mins loop).
  • Chatting, sending image 1v1 between doctors and members.
  • Doctors can create a new prescription for members.
  • Finding doctors by specialization.
  • User information CRUD.

Technology used

  • Flutter GetX pattern, GetX for state management. (actually I want to use BLOC (Rx) but I only have 1 month to complete so I use Getx to do it faster. But GetX's build-in DI is so stupid)
  • Authentication and Authorization using JWT.
  • Backend using ExpressJs, MongoDB.
  • Realtime event using Socket.io.
  • Cloudinary for storing images.

Directory structure

project
β”‚   README.md
β”‚
β”‚
└───lib
β”‚   |
β”‚   └───core
β”‚   |   |
β”‚   β”‚   └───helpers <--[Helpers function like customShowDialog(context)]
β”‚   |   |
β”‚   β”‚   └───themes  <--[Colors]
β”‚   |   |
β”‚   β”‚   └───utils   <--[logger, validator, cache manager, sharedPref,..]
β”‚   β”‚
β”‚   └───data
β”‚   |   |
β”‚   β”‚   └───api  <-[Provider data from remote]
β”‚   |   |
β”‚   β”‚   └───models
β”‚   |   |
β”‚   β”‚   └───repositories
β”‚   |   |
β”‚   β”‚   └───services
β”‚   |           |
β”‚   β”‚           └───socket_io_service.dart  <--[Socket.io service]
β”‚   β”‚           |
β”‚   β”‚           └───cloudinary_service.dart <--[Cloudinary service]
β”‚   β”‚
β”‚   └───modules <-[Screens, Controllers, Binding,... support modules]
β”‚   |
β”‚   └───routes  <-[Define routes and pages for named navigator, binding]
β”‚   |
β”‚   └───widgets <-[Common widgets for reusing]
β”‚   |
β”‚   └───main.dart
β”‚
β”‚
└───assets
        └───icons
        |
        └───images
        |
        └───logos
        |
        └───lottie <-[lottie animation]
        |
        └───.env <-[.env for environment]

Setup and run

Click to expand
  • Download APK
  • Setup and run
    • Flutter
      • Install Flutter.
      • Using stable channel:
        ❯ flutter channel stable
        ❯ flutter upgrade
      • Flutter doctor:
        ❯ flutter doctor
      • Install all the packages by:
        ❯ flutter pub get
      • Create .env file assets/.env has following structure:
        BASE_URL=https://komkat-happy-care.herokuapp.com
      • Run app on real devices or emulator by:
        ❯ flutter run
        or debug mode in VSCode or some IDEs

Screenshots (Running Stable in Mi 9)

Sorry for some UIs are not designed in advance, it will be not responsive for 16:9, not as beautiful as the intro, sign in, sign up because there is no time, just code in mind 😣

Splash, Intro, SignIn, SignUp

View Screenshots
Splash Screen Intro1 Intro2
Intro3 Intro4
Sign In Sign Up

Main Screen (Member Role)

View Screenshots
Home Screen Choose if you feel good Choose if you feel bad to finding doctor
More Symptoms Result for choosing symptoms Choose Doctor
Search Chat Screen Chat Room
Chat With Typing Event Socket Image Preview Before Sending All Prescriptions
Detail Prescription Detail Information Member role Edit Information
Detail Information Doctor Change password dialog Dialog choose avatar
More news WebView

Main Screen (Doctor Role)

View Screenshots
Home Screen Chat Screen Chat Room
Chat With Typing Event Socket Create Precription Image Preview Before Sending
All Prescriptions Detail Prescription Edit a Prescription
Detail Information Doctor role Edit Information Dialog choose avatar
More news WebView

Some gif(s)

View gif(s)
Finding Doctor By Symptoms

Todo

  • WebRTC for voice, video call
  • Notifications
  • Rebuild UI (i think no no no because i am very lazy 😣)

Contributors ✨


Nguyα»…n Minh DΕ©ng
πŸ’» πŸ“–

happy-care-mobile's People

Contributors

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