[React Native][Part 1]: My first app using react native

Before proceeding let’s make sure that we have the following tools in place:

  • brew
  • android
  • node
  • watchman (brew install watchman)

Check out the installation post for more information about how to install these tools.

# install the react native cli
npm install -g react-native-cli

Run this script to create your first app (our app is called “Shoes”):

react-native init Shoes

At any point throughout this tutorial, you can run your app using these commands:

# run your app on iOS
react-native run-ios

# run your app on Android
react-native run-android

It’s time for fun now, let’s start coding to build our beautiful shoe app !

Majd Arbash

Leave a Reply