@icure/cra-template-icure-medtech-expo
v0.0.1
Published
The base template to create your iCure React Navite Expo App.
Downloads
10
Readme
Start working on your e-health React Native Expo app with iCure in a few minutes, by using our dedicated React Native Expo template:
npx create-expo-app my-new-app --template @icure/cra-template-icure-medtech-expo
Once your app is created, complete the following values in the file .env
using .env.default
as a template:
- EXPO_PUBLIC_PARENT_ORGANISATION_ID
- EXPO_PUBLIC_EXTERNAL_SERVICES_SPEC_ID
- EXPO_PUBLIC_FRIENDLY_CAPTCHA_SITE_KEY
- EXPO_PUBLIC_EMAIL_AUTHENTICATION_PROCESS_ID and/or EXPO_PUBLIC_SMS_AUTHENTICATION_PROCESS_ID,
Check out our Quick Start in order to know what are those information and how to get them from our Cockpit Portal.
WARNING: Without these information, you won't be able to complete an authentication
Requirements
Make sure the following tools are installed on your machine:
- Yarn Package manager
- Ruby, same version than referenced in the
.ruby-version
file at the root of the template. - XCode
- Android Studio
Note: XCode and Android Studio are needed in order to run your app on iPhone & Android emulators
Which technologies are used ?
This React Native Template is based on the same technologies as our Petra example app. Meaning this template includes the use of:
- Typescript, as a language
- Redux, as a state container
- MMKV, as a key-value storage
- FriendlyCaptcha, as a CAPTCHA solution
We chosed this set of technologies, because we consider them as the most efficient ones to work with. Nonetheless, you can of course work with the technologies of your choices and still integrate the iCure MedTech Typescript SDK in your React Native app.
What includes this template ?
All the needed dependencies to work with iCure in a React Native Expo app, including:
- the iCure MedTech Typescript SDK
- the iCure Expo-Kryptom libraries
This template also includes the implementation of the iCure authentication flow (Both registration and login).
What's next ?
Check out our MedTech Documentation and more particularly our How To's, in order to start implementing new functionalities inside your React Native App !