Carekitsample Parsecarekit

An example SwiftUI CareKit app that auto synchronizes iOS/watchOS to the cloud via ParseCareKit and parse-hipaa
Alternatives To Carekitsample Parsecarekit
Project NameStarsDownloadsRepos Using ThisPackages Using ThisMost Recent CommitTotal ReleasesLatest ReleaseOpen IssuesLicenseLanguage
Hydra13,86982 days ago1May 08, 201973apache-2.0Go
OpenID Certified™ OpenID Connect and OAuth Provider written in Go - cloud native, security-first, open source API security for your infrastructure. SDKs for any language. Works with Hardware Security Modules. Compatible with MITREid.
Nats Server12,4951,09014 hours ago417September 22, 2022248apache-2.0Go
High-Performance server for NATS.io, the cloud and edge native messaging system.
Micro11,650372109 hours ago391August 16, 202239apache-2.0Go
API first development platform
Prefect11,5251707 hours ago162July 05, 2022717apache-2.0Python
The easiest way to orchestrate and observe your data pipelines
Go Cloud8,91449916 days ago91August 03, 202220apache-2.0Go
The Go Cloud Development Kit (Go CDK): A library and tools for open cloud development in Go.
Server8,25912 months ago50September 10, 202242otherGo
A simple server for sending and receiving messages in real-time per WebSocket. (Includes a sleek web-ui)
Nakama6,934110 hours ago72November 28, 2020102apache-2.0Go
Distributed server for social and realtime games and apps.
Cloudbeaver2,135
8 hours ago73apache-2.0TypeScript
Cloud Database Manager
Spring Cloud Config1,8585,81716912 hours ago72September 06, 2022180apache-2.0Java
External configuration (server and client) for Spring Cloud
Mist Ce1,712
2 months ago47apache-2.0Python
Mist is an open source, multicloud management platform
Alternatives To Carekitsample Parsecarekit
Select To Compare


Alternative Project Comparisons
Readme

CareKitSample+ParseCareKit

Swift Xcode 14.0+ iOS 16.0+ watchOS 9.0+ CareKit 2.1+ ci

An example application of CareKit's OCKSample synchronizing CareKit data to the Cloud via ParseCareKit.

Similar to the What's New in CareKit WWDC20 video, this app syncs between the AppleWatch (setting the flag isSyncingWithCloud in Constants.swift to isSyncingWithCloud = false. Different from the video, setting isSyncingWithCloud = true (default behavior) in the aforementioned files syncs iOS and watchOS to a Parse Server.

ParseCareKit synchronizes the following entities to Parse tables/classes using Parse-Swift:

  • [x] OCKTask <-> Task
  • [x] OCKHealthKitTask <-> HealthKitTask
  • [x] OCKOutcome <-> Outcome
  • [x] OCKRevisionRecord.KnowledgeVector <-> Clock
  • [x] OCKPatient <-> Patient
  • [x] OCKCarePlan <-> CarePlan
  • [x] OCKContact <-> Contact

Use at your own risk. There is no promise that this is HIPAA compliant and we are not responsible for any mishandling of your data

Setup Your Parse Server

Heroku

The easiest way to setup your server is using the one-button-click deployment method for parse-hipaa.

Docker

You can setup your parse-hipaa using Docker. Simply type the following to get parse-hipaa running with postgres locally:

  1. Fork parse-hipaa
  2. cd parse-hipaa
  3. docker-compose up - this will take a couple of minutes to setup as it needs to initialize postgres, but as soon as you see parse-server running on port 1337., it's ready to go. See here for details
  4. If you would like to use mongo instead of postgres, in step 3, type docker-compose -f docker-compose.mongo.yml up instead of docker-compose up

Fork this repo to get the modified OCKSample app

  1. Fork CareKitSample-ParseCareKit
  2. Open OCKSample.xcodeproj in Xcode
  3. You may need to configure your "Team" and "Bundle Identifier" in "Signing and Capabilities"
  4. Run the app and data will synchronize with parse-hipaa via http://localhost:1337/parse automatically
  5. You can edit Parse server setup in the ParseCareKit.plist file under "Supporting Files" in the Xcode browser

View your data in Parse Dashboard

Heroku

The easiest way to setup your dashboard is using the one-button-click deployment method for parse-hipaa-dashboard.

Docker

Parse Dashboard is the easiest way to view your data in the Cloud (or local machine in this example) and comes with parse-hipaa. To access:

  1. Open your browser and go to http://localhost:4040/dashboard
  2. Username: parse
  3. Password: 1234
  4. Be sure to refresh your browser to see new changes synched from your CareKitSample app

Note that CareKit data is extremely sensitive and you are responsible for ensuring your parse-server meets HIPAA compliance.

Transitioning the sample app to a production app

If you plan on using this app as a starting point for your produciton app. Once you have your parse-hipaa server in the Cloud behind ssl, you should open ParseCareKit.plist in Xcode and change the value for Server to point to your server(s) in the Cloud. You should also open Info.plist in Xcode and remove App Transport Security Settings and any key/value pairs under it as this was only in place to allow you to test the sample app to connect to a server setup on your local machine. iOS apps do not allow non-ssl connections in production, and even if you find a way to connect to non-ssl servers, it would not be HIPAA compliant.

Extra scripts for optimized Cloud queries

You should run the extra scripts outlined on parse-hipaa here.

Popular Cloud Computing Projects
Popular Server Projects
Popular Cloud Computing Categories
Related Searches

Get A Weekly Email With Trending Projects For These Categories
No Spam. Unsubscribe easily at any time.
Swift
Server
Cloud
Xcode
Synchronization
Healthcare
Watchos