bw-davis / hansel

1 stars 0 forks source link

Consider using MySQL/django rest framework instead of firebase #12

Open nqthqn opened 8 years ago

nqthqn commented 8 years ago

https://crisp.im/blog/why-you-should-never-use-firebase-realtime-database/

nqthqn commented 8 years ago

@bw-davis And in the client, we might consider giving realm a try. article on how it relates to CoreData, and SQLite. it would take you maybe an hour or 2 to migrate away from core data. We will still need a REST library to make requests like PUT /api/feeding/:guid/ with {"weight":"120", "kid_id":"53"} json payload.

nqthqn commented 8 years ago

Other libraries to checkout,

pod 'SwiftyJSON', '2.3.2'
  pod 'Alamofire', '3.3.0'
  pod 'PromiseKit', '3.4.0'
  pod 'PBJVision', '0.4.2'
  pod 'FontAwesome.swift', '0.7.1'
  pod 'SwiftSpinner', '0.9.1'
  pod 'HanekeSwift', '0.10.1'
  pod 'RealmSwift', '1.0.2'
  pod 'Eureka', '1.7.0'
  pod 'LayoutKit', '2.0.1'
  pod 'Instabug'
  pod 'KeyClip'
  pod 'CocoaMarkdown', :git => 'https://github.com/indragiek/CocoaMarkdown.git'
  pod 'JSQMessagesViewController', :git => 'https://github.com/jessesquires/JSQMessagesViewController.git', :branch => 'develop'
  pod 'Localize-Swift', '~> 1.5'
  pod 'ReachabilitySwift', '~> 2.4'
  pod 'EVURLCache'
  pod 'Whisper'
  pod 'AVPlayerViewController-Subtitles'
nqthqn commented 8 years ago

specifically

nice networking: https://github.com/Alamofire/Alamofire easy json: https://github.com/SwiftyJSON/SwiftyJSON pretty icons: https://github.com/thii/FontAwesome.swift custom camera: https://github.com/piemonte/PBJVision bluetooth: https://github.com/matteocrippa/awesome-swift#bluetooth

for more: https://github.com/matteocrippa/awesome-swift

nqthqn commented 8 years ago

https://github.com/SyncDB/Sync#swift instead of realm?

We basically need a simple way of syncing CoreData to a web service that provides authentication and related data models.