Skip to content

shaharhalutz/meteor-todos-react-native

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

55 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Meteor Todos, React Native Style

A demo of React Native interacting with a Meteor backend. The goal of this project is to match the feature set of the web version of Meteor's Todos example.

Note: Still a work in progress.

Installation

  1. Install Meteor
  2. Install React Native (Only works on OSX currently)

Running

You'll need two terminal windows to run this example.

  1. In terminal window 1 run cd meteor-todos/ && meteor
  2. In terminal window 2 run cd ReactNativeTodos/ && npm install && npm run ios
  3. After the npm dependencies are installed Xcode should open. You can then press the play button in the top left of Xcode and the iOS simulator should open.
  4. If you plan to run on a real device, make sure to replace localhost with your local IP address in the following files:
  • AppDelegate.m
  • ReactNativeTodos/app/config/db/lib/ddpClient.js

Changes made to the Meteor Todos Example

I wanted to minimize the number of changes I made to the example provided by Meteor (created by running meteor create --example todos). The only addition I made was adding a few Meteor methods in meteor-todos/lib/methods.js.

Android Support

The app builds on Android but that is the extent of my testing with it. Please feel free to test, fix, and contribute back.

You can use on android by running npm run android inside the ReactNativeTodos folder. Make sure to run npm install first.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 78.1%
  • HTML 12.3%
  • Objective-C 6.9%
  • Java 1.4%
  • CSS 1.3%