https://github.com/syrsdev/coffeeapp-react-native
https://github.com/syrsdev/coffeeapp-react-native
Last synced: 5 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/syrsdev/coffeeapp-react-native
- Owner: syrsdev
- Created: 2023-09-04T06:36:35.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2023-09-04T09:44:26.000Z (almost 3 years ago)
- Last Synced: 2025-04-02T09:44:33.482Z (about 1 year ago)
- Language: JavaScript
- Size: 484 KB
- Stars: 3
- 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 Server
First, 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.