Realm is a mobile database: an alternative to SQLite & key-value stores https://realm.io
Go to file
Ari Lazier cc0f821a99 fix for partial update of string properties 2015-09-03 14:37:22 -07:00
ReactNative support react-native version 0.10.0 2015-09-02 20:01:15 -07:00
RealmJS.xcodeproj primary keys and upsert 2015-09-03 14:05:56 -07:00
examples update example to react-native version 0.10.1 2015-09-02 20:09:29 -07:00
src fix for partial update of string properties 2015-09-03 14:37:22 -07:00
tests fix for partial update of string properties 2015-09-03 14:37:22 -07:00
.gitignore move js work from realm-cocoa-private 2015-08-13 09:12:48 -07:00
README.md Update README.md 2015-08-24 09:26:51 -07:00

README.md

RealmJS

RealmJS contains Realm bindings for integrating with mobile apps built using javascript frameworks such as ReactNative and PhoneGap.

ReactNative Example

Make sure your environment is set up to run react native applications. Follow the instructions here https://facebook.github.io/react-native/docs/getting-started.html to the point you have installed the react-native-cli.

The ReactNative sample project is in the examples/ReactExample directory. You must run npm install in this directory before running the example for the first time.

ReactNative Project Setup

  • Create a new ReactNative project react-native init <project-name> and open the generated XCode project.
  • Drag RealmJS.xcodeproj into the Libraries folder in your project.
  • In the target for your application, add libRealmReact.a in the Link Binary with Library build phase.
  • Use Realm in your app.