Skip to content

dipkasyap/Hospital-finder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 

Repository files navigation

Hospital finder

A mobile app project to the response of:

  • "The year is 2025 and the worldwide zombie apocalypse has reached its peak moment in Sydney. The city is in chaos due to zombies biting and chasing regular citizens on the streets. This horrendous tragedy has caused all the hospitals within Sydney to become overcrowded, people with different diseases and triages have jammed hospital emergency rooms as they wait for their treatments. Is anyone there to help hospitals form overflow?"

Requirements:

  • iOS 13.0+
  • Xcode 11.4.1
  • Swift 5.0
  • Cocoapod 1.9.3(latest) COCOAPODS

Objective:

App Goal:

App Flow:

  • App presents a list of illnesses to user.
  • User selects select the illness he/shes suffering from.
  • App presents screen to select level of pain ranges from low to dengerous (coded as 0 to 4).
  • User selects level of pain.
  • App calculates waiting times based on the patient’s level of pain and hospitals average process times and shows hospitals back to the user ordered by waiting time (Shortest to longest)
  • Persists data using Realm DB.
  • Bonus: User can select hospital from list and app will open map to provide rout to hospital.

Installation

  • Xcode 11.4.1(required)
  • Clean /DerivedData folder if any and build the project in Xcode
  • Run the pod install pod install
  • Then clean and build the project in Xcode

3rd Party Libraries

  • COCOAPODS - COCOAPODS is a dependency manager for Swift and Objective-C Cocoa projects.
  • SVProgressHUD - SVProgressHUD is used to show loading indicator when app calls api to get data.
  • NotificationBannerSwift - NotificationBannerSwift Banner alert, it is used to show alert banner if app encounters error on API fetch.
  • RealmSwift - RealmSwift Is Object store DB, it is used to store user info about illness, pain and selected hospital.
  • Quick - Quick/Quick is testing framework in swift
  • Nimble - Quick/Nimble is Matcher Framework for Swift to pair with Quick
  • Cuckoo - Brightify/Cuckoo is mocking framework for unit tests in swift

About

Find hospital that has least waiting time.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published