An open API service indexing awesome lists of open source software.

https://github.com/nbkhope/getting-started-react-native

Getting started with React Native for mobile development
https://github.com/nbkhope/getting-started-react-native

react-native

Last synced: about 1 year ago
JSON representation

Getting started with React Native for mobile development

Awesome Lists containing this project

README

          

# getting-started-react-native

Getting started with React Native for mobile development

![Readme Screenshot](screenshots/readme_screenshot.png)

## Presentation Slides

[Click here](https://docs.google.com/presentation/d/1fQMSvoDdO-2ZY1dfsJRbrt3V3pcIKbQPt9OdgpZZL58/edit?usp=sharing)

## Quick Guide (iOS on Mac OS X)

You will need to have Brew and Xcode already installed. Make sure to also have the Chrome browser installed.

```
# Install Node.js
brew install node

# Install Watchman
brew install watchman

# Install React Native Comand Line Tools
npm install -g react-native-cli
```

I suggest you use [Atom](https://atom.io/) instead of Sublime due to better syntax highlighting for JavaScript.

Now, you can create a new project:

```
react-native init MyProject

# Go to the project directory and run it
cd MyProject
react-native run-ios
```

The entry point for your app will be in the file `index.ios.js`

### Note: running the finished MyProject example in this repository

If you wish to run the example app in this repository without creating your own project, **cd** to MyProject and run

```
npm install
```

That will install all the package dependencies necessary for the app. Then, follow the instructions above to call `react-native run-ios`.

## Step-By-Step Guide (Building First App)

[Click here](GUIDE.md)