setting up a react native project code example
Example 1: how to create a new react native project
$ npx react-native init firstapp
Example 2: start react native
react-native start
Example 3: start react native
react-native init AwesomeProject
Example 4: how to create a new react native project
C:\Users\Tutorialspoint> npm install -g create-react-native-app