Now, when we've set everything up, we can start creating React Native applications. At the beginning of this chapter when we've installed react native dependencies, we've installed the React Native command-line interface by running the following command:
npm install -g react-native-cli
We will use it to both run our application and to create it.
First of all, run the following in the terminal:
react-native init myFirstProject
The preceding command will create a new folder in your current directory and will create a React Native project inside of it. Let's open up this folder and briefly take a look at what we've got:
In the following chapters, we will cover all the inner bits of this project structure, but you can note that we have the __tests__ folder with two index JavaScript files for both Android and iOS.
The android and...