Simple application using React and WebRTC.
This application reproduces the mechanism of SFU using a native RTCPeerConnection without using a library such as SDK.
module | purpose |
---|---|
React | View library |
Redux | State management |
React Router | Client-side routing |
Styled Components | Styling |
TypeScript | Checking static type |
Jest | Unit test |
Stroybook | Component management |
Express | Socket server, Server-side rendering |
Webpack | Bundle modules |
loadable-components | Code splitting |
Yarn | Package management |
1.First clone this repository to your computer.
$ git clone https://github.com/yuyake0084/react-webrtc-starter.git
$ cd react-webrtc-starter
2.Then install the module.
$ yarn
3.Copy ".env.default" and create ".env.dev".
$ mv .env.default .env.dev
4.Execute the following command to start the application.
$ yarn start