Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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: about 1 month ago
JSON representation

WebRTC Multi-Peer Example With React & NestJS

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