@realm/react-native-template
v0.7.1
Published
Realm Template for React Native
Downloads
22
Keywords
Readme
React Native Template Realm
Usage
Simple React Native template to quickly get started with Realm.
This app implements a simple todo list, using Realm for persistence and the Realm React hooks for React integration. It supports sync, allowing users to login and sync their todo lists across multiple devices.
🚀 How to use
npx react-native init AwesomeRealmProject --template @realm/react-native-template
🏃 How to build and run locally
- Setup React Native development Environment
- Build/Run on iOS 🍎
npm run ios
- Build/Run on Android 🤖
npm run android
💻 Start the Dev Client
npm start
💾 Testing changes to the template when developing
To test the template locally, run it like any other React Native app: npm i && npx pod-install
then npm run ios
.
🔀 Setting up sync
See https://github.com/realm/realm-js/blob/main/templates/docs/sync-setup.md for instructions.