Home

Awesome

Meteor React Native Starter Boilerplate

A boilerplate for Meteor and React Native written in ES6.

What's in the box

Christmas list

Quick Start

0. Prerequisites
1. Start the Meteor backend server

cd meteor && meteor

--> Open a new tab <--

2. Run on iOS (Mac only. Very easy)

cd Starter && npm install && npm run ios then click the 'Play' button on Xcode.

OR

2. Run on Android (More complicated)

After following the Android Setup instructions, cd Starter && react-native run-android

React Native & Meteor - why, how, what?

How do they work together?

React Native - is responsible for the native apps Meteor is the server, providing the methods, account system etc.

Why do they work well together?

Additionally, there are many benefits of using Meteor as a backend such as free dev hosting etc.

How do they communicate?

Meteor sends data via its proprietary DDP protocol.

This is used to call methods on the server and subscribe to data.

Why not use Meteor + Ionic + Cordova?

It's been possible to build PhoneGap / Cordova apps for a while. You use the frontend library Ionic with Meteor's Blaze which have been tied together nicely by Meteoric.

If you're trying to decide between React Native and Cordova, make sure to read up on the grand old hybrid vs. native debate.

Advantages

Disadvantages

Our 10 cents:

Contributors

This repo was inspired by and relies heavily on the code from @spencercarli's awesome Meteor Todos