create and run a react native app code example
Example 1: create react native app
npx react-native init AwesomeProject
Example 2: how to run react native app
react-native run-android
react-native run-ios
Example 3: how to create a new react native project
$ npx react-native init firstapp