Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ctq123/react-native-webrtcapp
基于react-native-webrtc,视频会议应用
https://github.com/ctq123/react-native-webrtcapp
graphql react-native react-native-webrtc
Last synced: 15 days ago
JSON representation
基于react-native-webrtc,视频会议应用
- Host: GitHub
- URL: https://github.com/ctq123/react-native-webrtcapp
- Owner: ctq123
- Created: 2024-09-07T12:55:10.000Z (4 months ago)
- Default Branch: master
- Last Pushed: 2024-10-23T05:06:19.000Z (2 months ago)
- Last Synced: 2024-11-03T07:40:22.353Z (2 months ago)
- Topics: graphql, react-native, react-native-webrtc
- Language: TypeScript
- Homepage:
- Size: 1.34 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
This is a [**React Native**](https://reactnative.dev) application for multi-party meetings.
![image](https://github.com/user-attachments/assets/4f800290-7b19-459b-a5cc-21470573f4bd)
## tech stack
#### react-native + webrtc + graphql + graphql-subscriptions>**Note**: Make sure you have completed the [React Native - Environment Setup](https://reactnative.dev/docs/environment-setup) instructions till "Creating a new application" step, before proceeding.
> environment: node 20+, npm 8+
# 1. Server
First, you will need to start **Server**
To start Server, run the following command from the _root_ of your server project:
## install dependencies
```bash
# server root
cd server# using yarn
yarn
```## get started
```bash
# using yarn
yarn start
```# 2. Client
## 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:
### install dependencies
```bash
# using yarn
yarn
```### get started
```bash
# using npm
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.