@realm/expo-template
v0.7.0
Published
Realm Template for Expo
Downloads
43
Keywords
Readme
Expo Template Realm TypeScript
Simple Expo template to quickly get started with Realm.
🚀 How to use
Use the following command to generate your template:
npx create-expo-app MyAwesomeRealmApp --template @realm/expo-template
NOTE: version of npm
before v9 may cause problems when initializing the template. If the initialization fails, please upgrade to the latest npm
and try again.
npm install -g npm
🏃 How to build and run locally
- Setup development Environment
- Build/Run on iOS 🍎
yarn ios
npm run ios
- Build/Run on Android 🤖
yarn android
npm run android
💻 Start the Dev Client
expo start --dev-client
yarn start
npm run start
🔀 Setting up sync
See https://github.com/realm/realm-js/blob/master/templates/docs/sync-setup.md for instructions.