Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ozanturhan/webrtc-nestjs-react-example
WebRTC Multi-Peer Example With React & NestJS
https://github.com/ozanturhan/webrtc-nestjs-react-example
heroku heroku-deployment multipeer multipeer-connectivity nestjs nestjs-server react reactjs socket-io socket-io-client socket-io-server styled-components webrtc webrtc-examples webrtc-video
Last synced: 18 days ago
JSON representation
WebRTC Multi-Peer Example With React & NestJS
- Host: GitHub
- URL: https://github.com/ozanturhan/webrtc-nestjs-react-example
- Owner: ozanturhan
- Created: 2020-11-28T13:39:12.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2022-02-07T08:36:59.000Z (almost 3 years ago)
- Last Synced: 2024-07-31T19:35:52.916Z (3 months ago)
- Topics: heroku, heroku-deployment, multipeer, multipeer-connectivity, nestjs, nestjs-server, react, reactjs, socket-io, socket-io-client, socket-io-server, styled-components, webrtc, webrtc-examples, webrtc-video
- Language: JavaScript
- Homepage:
- Size: 432 KB
- Stars: 97
- Watchers: 3
- Forks: 34
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# WebRTC Multi-Peer Example With React & NestJS
Heroku App: https://react-socket-io-webrtc-client.herokuapp.com/
## Start Development
### Docker Redis
```
docker run --name test-redis -d -p 6379:6379 redis
```### NestJS Server
```
cd server
yarn install
yarn start:dev
```### React Client
```
cd web
yarn install
yarn start
```- Web Client: http://localhost:3000
## Heroku Deployment
### NestJS Server
```
heroku create -a nestjs-webrtc-server
heroku git:remote -a nestjs-webrtc-server
heroku features:enable http-session-affinity // Enable Websocket
git subtree push --prefix server heroku master
```### React Client
```
heroku create -a react-socket-io-webrtc-client
heroku git:remote -a react-socket-io-webrtc-client
git subtree push --prefix web heroku master
```Production environment defined on Heroku Dashboard with Config Vars