HealthAndBeyond-College-Project
HealthAndBeyond-College-Project copied to clipboard
Flutter app that allows Doctors and Patients to access features of Health and Beyond website
Health & Beyond College Project
This app gets along with Health & Beyond. It allows doctor and patient to easily access all features of Health & Beyond using this app.
Note
- I made this
Flutterapp in short notice of a week. Had absoulutely no time to addcomments. That's why, some stuff is very clean and some is a little messy. - Also, I didn't have any time to add
state management. This is all done in one go. - I might re-make the entire project and add
state managementwith bettercode. - You may use my code but it must be free, publicly available and open source.
Check out the video presentation
Timestamps
- Introduction to Mobile Application at
15:27- Project Structure at
15:55 - Mobile Application at
18:19
- Project Structure at
Screenshots
Login |
Dashboard Statistics |
Dashboard Pie Charts |
![]() |
![]() |
![]() |
Patient History |
Profile |
Notifications |
![]() |
![]() |
![]() |
Add Patient Record |
Scan QR Code |
Health Event |
![]() |
![]() |
![]() |
Featues
authentication: Authentication (Login) fordoctorandpatientdashboard: Dashboard which showsstatisticsanddiseasesin city and state using a pie charthistory: Shows patient records by scanning theirqr codeorpatient idprofile: Shows patient and doctor their respective profilesnotifications: Shows notifications forappointmentsandhealth eventsadd record: Allows Doctor to add a newpatient record
Project Structure
I chose to implement sort of clean architecture in my project structure.
Project contains two main folders, core and features
corecontains all core data such as string resources, color and theme data, app prefrerences.featuresconatains allmodulessuch as authentication, home, profile, notifications, etc.
This way, I can keep track of all features and easily manage them.
Feature Structure
Each and every feature has 3 folders,
domain: Contains all abstact classes formodelsandrepositoriesand implementation forusecasesdata: Contains all implementation fordata sources,modelsandrepositoriespresentation: Contains all views inscreensandwidgets
Purpose of each folder
-
domainsubcontentsmodels: Contains abstract classes fordata modelsrepositories: Contains abstract classes forrepositoriesusecases: Conatins abstraction forusecase
-
datasubcontentsmodels: Contains implementation fordata modelsrepositories: Contains implementation forrepositoriesdata sources: Conatins abstraction and implementation forlocal and remote data sources
-
presentationsubcontentsscreens: Containsviewsor mainlayoutwidgets: Contains complementingwidgetsthat can be used insidemain widget
-
coresubcontentsresources: Containscolors,dimensions,strings,styles,theme dataandapp routespreferences: Contains functions forshared preferencesto sore data locallynetwork: Containsdata checkerto check whether device is connected to internet or notusecases: Contains abstact classes forusecaseerrors: Contains abstarct classes forexceptionsandfailuresrequests: Contains app requests that fetch the data fromapiutils: Containsutilitiessuch asrandom color generatorfor pie chart








