Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/syrsdev/coffeeapp-react-native
https://github.com/syrsdev/coffeeapp-react-native
Last synced: 4 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/syrsdev/coffeeapp-react-native
- Owner: syrsdev
- Created: 2023-09-04T06:36:35.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2023-09-04T09:44:26.000Z (over 1 year ago)
- Last Synced: 2024-08-17T12:28:50.726Z (5 months ago)
- Language: JavaScript
- Size: 484 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# How to run
## Step 1: Start the Metro ServerFirst, you will need to start **Metro**, the JavaScript _bundler_ that ships _with_ React Native.
To start Metro, run the following command from the _root_ of your React Native project:
```bash
# using npm
npm install
npm start# OR using Yarn
yarn start
```## Step 2: Start your Application
Let Metro Bundler run in its _own_ terminal. Open a _new_ terminal from the _root_ of your React Native project. Run the following command to start your _Android_ or _iOS_ app:
### For Android
```bash
# using npm
npm run android# OR using Yarn
yarn android
```### For iOS
```bash
# using npm
npm run ios# OR using Yarn
yarn ios
```If everything is set up _correctly_, you should see your new app running in your _Android Emulator_ or _iOS Simulator_ shortly provided you have set up your emulator/simulator correctly.
This is one way to run your app — you can also run it directly from within Android Studio and Xcode respectively.