Our Expo-based mobile application for demonstration purposes.

Overview

Capable Care reference implementation

This repository provides a working example of a React Native mobile application (built on Expo) integrating Capable Health's authentication mechanism and the patient API endpoints: care plans, goals, and tasks. For more information on Capable Health's API, see the documentation and API specification.

Running the demo Locally

  1. A few prerequisites you should install on your OS:

    • a recent Node version (v12+),
    • the yarn Node package manager
  2. Ensure your local environment variables are set correctly. Copy the included .env.sample file to a .env file and add the values provided by the Capable Health team.

    NB: if you make changes to the .env file, make sure to restart your server to have them picked up by the server.

  3. Then install your dependencies and run the app:

    yarn install
    yarn run start
  4. Upon successfully starting the app you will be brought into the Metro Bundler's React Native dashboard. From there you'll have links that will enable you to see the app:

Contributing guidelines

If you would like to contribute to this repository, please see our CONTRIBUTING.md guidelines.

Trademark notice

"Capable Health" and "Capable Care" are registered trademarks of Capable Health, Inc ("Capable"). You may not use these trademarks to infer that your product or service is endorsed or associated with Capable without permission. You may use these marks to refer to Capable in a way where it’s clear that you’re simply referring to the project, not claiming endorsement or association.

Comments
  • Bootstrap goals and tasks from careplan

    Bootstrap goals and tasks from careplan

    Ticket or Explanation for PR

    [sc-1876]

    Please describe how the PR was tested

    Tested on web with dev api

    PR merging checklist

    Please add any other relevant checkbox items here.

    • [x] I linked a Shortcut ticket to my PR (if applicable)
    • [x] I pulled in the latest changes from dev and there's no conflicts
    • [x] I corrected all linting/formatting issues
    • [x] I tested my changes in a mobile emulator
    • [x] My PR has been approved by at least one reviewer
    opened by LUMacKenn 2
  • Feat/bootstrap goals tasks from careplan

    Feat/bootstrap goals tasks from careplan

    Ticket or Explanation for PR

    [sc-1876]

    Please describe how the PR was tested

    Tested on web with dev api

    PR merging checklist

    Please add any other relevant checkbox items here.

    • [x] I linked a Shortcut ticket to my PR (if applicable)
    • [x] I pulled in the latest changes from dev and there's no conflicts
    • [x] I corrected all linting/formatting issues
    • [ ] I tested my changes in a mobile emulator
    • [ ] My PR has been approved by at least one reviewer
    opened by LUMacKenn 2
  • Edit env.sample file

    Edit env.sample file

    Ticket or Explanation for PR

    A user got stuck trying to connect the app to the Capable API because we omitted the "https://" in our env.sample file. This PR adds it.

    PR merging checklist

    Please add any other relevant checkbox items here.

    • [ ] I linked a Shortcut ticket to my PR (if applicable)
    • [x] I pulled in the latest changes from dev and there's no conflicts
    • [ ] I corrected all linting/formatting issues
    • [ ] I tested my changes in a mobile emulator
    • [ ] My PR has been approved by at least one reviewer
    opened by ezekielp 1
  • Only show first active care plan and goals/tasks for that plan

    Only show first active care plan and goals/tasks for that plan

    Ticket or Explanation for PR

    [sc-2152]

    I created separate state hooks (activeGoals and activeTasks) so that the goals and tasks can still be fetched async while fetching the careplan

    Please describe how the PR was tested

    Web and mobile iOS

    PR merging checklist

    Please add any other relevant checkbox items here.

    • [x] I linked a Shortcut ticket to my PR (if applicable)
    • [x] I pulled in the latest changes from dev and there's no conflicts
    • [x] I corrected all linting/formatting issues
    • [x] I tested my changes in a mobile emulator
    • [ ] My PR has been approved by at least one reviewer
    opened by LUMacKenn 1
  • readme changes for clarity

    readme changes for clarity

    Ticket or Explanation for PR

    relates to: https://github.com/capable-health/capable-care-mobile-demo/issues/1 and [sc-2150]

    PR merging checklist

    Please add any other relevant checkbox items here.

    • [x] I linked a Shortcut ticket to my PR (if applicable)
    • [x] I pulled in the latest changes from dev and there's no conflicts
    • [x] I corrected all linting/formatting issues
    • [x] My PR has been approved by at least one reviewer
    opened by VeraZab 1
  • A couple of README notes

    A couple of README notes

    Hey Capable!

    1. For step 2, you say to copy .env.sample to .env, and then in step 3 you say to cd to capable-care-mobile-demo. But chances are you're already in there. Perhaps just words to indicate that the user should run yarn 'from within the capable-care-mobile-demo directory'?
    2. Changes to .env seem to require a restart of the Metro Bundler to be picked up. Might be worth mentioning this so it's clear. This might be obvious to people who have worked in Expo before (I haven't)?

    I got it up and running no worries on my machine (once I added an API_URL, which seems to be the only environment variable needed to at least boot the app). Nice one! 🎉

    image

    opened by jalada 1
  • [Snyk] Security upgrade react-native from 0.64.1 to 0.65.0

    [Snyk] Security upgrade react-native from 0.64.1 to 0.65.0

    Snyk has created this PR to fix one or more vulnerable packages in the `yarn` dependencies of this project.

    merge advice

    Changes included in this PR

    • Changes to the following files to upgrade the vulnerable dependencies to a fixed version:
      • package.json
      • yarn.lock

    Vulnerabilities that will be fixed

    With an upgrade:

    Severity | Priority Score (*) | Issue | Breaking Change | Exploit Maturity :-------------------------:|-------------------------|:-------------------------|:-------------------------|:------------------------- high severity | 661/1000
    Why? Recently disclosed, Has a fix available, CVSS 7.5 | Out-of-Bounds
    SNYK-JS-HERMESENGINE-1727253 | No | No Known Exploit

    (*) Note that the real score may have changed since the PR was raised.

    Check the changes in this PR to ensure they won't cause issues with your project.


    Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.

    For more information: 🧐 View latest project report

    🛠 Adjust project settings

    📚 Read more about Snyk's upgrade and patch logic

    opened by snyk-bot 0
  • Bump react-native-reanimated from 2.1.0 to 2.10.0

    Bump react-native-reanimated from 2.1.0 to 2.10.0

    Bumps react-native-reanimated from 2.1.0 to 2.10.0.

    Release notes

    Sourced from react-native-reanimated's releases.

    2.10.0

    🚀 Main changes

    • Added useAnimatedKeyboard() hook
    • Added useFrameCallback() hook
    • Added support for React Native 0.70
    • Added support for react-native-v8 (building from source only)
    • Detect multiple versions of Reanimated.
    • And many different fixes.

    Build: https://github.com/software-mansion/react-native-reanimated/actions/runs/2889631689

    Full Changelog: https://github.com/software-mansion/react-native-reanimated/compare/2.9.1...2.10.0

    2.9.1

    What's Changed

    Build: https://github.com/software-mansion/react-native-reanimated/actions/runs/2595830511

    🙌 Thank you for your contributions!

    2.9.0

    What's Changed

    Package contains binaries for react-native in version from 0.65 to 0.69

    Build: https://github.com/software-mansion/react-native-reanimated/actions/runs/2590392729

    🙌 Thank you for your contributions!

    2.8.0

    What's Changed

    New Contributors

    @​dylmye @​jiulongw @​lukmccall

    Full Changelog: https://github.com/software-mansion/react-native-reanimated/compare/2.7.0...2.8.0

    🙌 Thank you for your contributions!

    2.7.0

    What's Changed

    ... (truncated)

    Commits
    Maintainer changes

    This version was pushed to npm by piaskowyk, a new releaser for react-native-reanimated since your current version.


    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
    • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
    • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
    • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language

    You can disable automated security fix PRs for this repo from the Security Alerts page.

    dependencies 
    opened by dependabot[bot] 0
Expo Config Plugin that generates an App Clip for iOS apps built with Expo.

react-native-app-clip Expo Config Plugin that generates an App Clip for iOS apps built with Expo. Warning This plugin is a work in progress and hasn’t

Benedikt 186 Dec 24, 2022
This repo is for educational and demonstration purposes only, this project is to demonstrate usage of apollo/client and github API and firebase.

Gissues Gissues is a web application that allows you to search for issues in GitHub. It is built for new developers who want to learn more about GitHu

Shikhar 10 Oct 1, 2022
A collection of vigorously tested, examplary Huff contracts for demonstration purposes.

The Huff Programming Language Huff is a low-level programming language designed for developing highly optimized smart contracts that run on the Ethere

Huff 86 Dec 20, 2022
WPPConnect/mobile is an open source project with the objective of automating whatsapp web using the android or ios mobile browser and being able to perform all the functions of our wa-js project

WPPConnect/mobile is an open source project with the objective of automating whatsapp web using the android or ios mobile browser and being able to perform all the functions of our wa-js project, so it is possible to create a customer service, media sending, intelligence recognition based on artificial phrases and many other things, use your imagination to change and modify this project or collaborate on improvements...

null 11 Dec 28, 2022
React Native & Expo music player application UI

Would you like to support me? Musicont React Native & Expo music player application UI Demo: https://expo.io/@jsxclan/musicont APK: Download on Google

JSX Clan 82 Dec 14, 2022
Mobile app development framework and SDK using HTML5 and JavaScript. Create beautiful and performant cross-platform mobile apps. Based on Web Components, and provides bindings for Angular 1, 2, React and Vue.js.

Onsen UI - Cross-Platform Hybrid App and PWA Framework Onsen UI is an open source framework that makes it easy to create native-feeling Progressive We

null 8.7k Jan 8, 2023
Demonstration of how to use statecharts as and with actors in Ember.js

statechart-actors This app demonstrate how we can use ember-statecharts and XState's actor feature together. The demo-use case: Show a blog posts over

Michael Klein 3 Jan 9, 2022
Boilerplate to build Cross-Platform Apps with Expo and React Native

Expo and React Native Boilerplate Boilerplate to build Cross-Platform Apps with Expo and React Native What are you going to find in this boilerplate E

José Ferrer 26 Apr 29, 2022
A simple example on how to get WalletConnect to authenticate wallets in the Expo Go app.

WalletConnect Example on Expo This is a simple example how to get WalletConnect up and running with Expo for React Native. WalletConnect's dependency

Carlos A. Wong 60 Dec 30, 2022
Tamagui with Supabase, Expo, Next.js, Solito and Jotai

Tamagui + Supabase + Solito + Next + Expo Monorepo ⚡️ Instant clone & deploy ?? About This monorepo is a starter todo app, built using Supabase + Expo

Lachlan Hawthorne 15 Dec 12, 2022
Convert a CSS linear gradient function to expo-linear-gradient props

@bacons/css-to-expo-linear-gradient Demo: snack Convert a CSS linear gradient function to expo-linear-gradient props. Add the package to your npm depe

Evan Bacon 15 Dec 15, 2022
An easy hook to use with expo-calendar library!

useCalendar Hook ?? Updated to Expo SDK45 This is an easy hook to use expo-calendar. It allows you: Get access permission to calendar Open settings to

AtilaDev 12 Nov 1, 2022
A lite version for the my original app loki stream which allowed watching anime on your phone. Made using expo.

LokiStream Lite A lite version for the my original app loki stream. This app is faster, smaller and more optimized for your phone. It allows you to wa

Lavish Kumar 18 Dec 24, 2022
Expo Demo: Screen Capture with Managed Workflow

Expo Demo: Screen Capture with Managed Workflow This code demonstrates how to setup screen capture on an Expo app, without having to eject from the ma

Luis Taniça 12 Dec 30, 2022
A new renovated version of Directory to search @expo-google-fonts

Directory | AtilaDev Directory is an easy & quick search to find google fonts using @expo-google-fonts for your React Native App. Usage Press / key to

Leandro Favre 2 Oct 5, 2022
Rocket Bank is a finance mobile app built for XP Mobile Challenge.

Rocket Bank is a mobile application made with React Native. You can track your portfolio performance, make deposits and withdrawals, and buy and sell

Rafo 10 Jul 27, 2022
trying to clone tiktok using next, typescript, tailwindcss and hasura graphql. For educational purposes only

This is a Next.js project bootstrapped with create-next-app. Getting Started First, run the development server: npm run dev # or yarn dev Open http://

null 2 Jan 4, 2022
USA Covid-19 Tracker is a mobile-first application built with React and Redux to give precise information about the virus behavior in the United States. Great transitions and user feedback made with plain CSS.

React.js USA Covid-19 Tracker This application allows the public to keep track of the stadistics of the Covid-19 Pandemic in the United Stated. You wi

Rafael Echart 14 Oct 25, 2022
Choosy is a mobile application that allows users to create photo polls that others can vote on and help declare which photo is the best.

Choosy - Create photo polls The freshest mobile application for your photo polls! Explore the docs » Table of Contents Introduction App concept Target

Choosy 13 Sep 7, 2022