https://github.com/viveksb007/webrtc-signalling
Signalling server for WebRTC
https://github.com/viveksb007/webrtc-signalling
gradle reactjs spring-boot webrtc webrtc-signaling websocket
Last synced: 3 months ago
JSON representation
Signalling server for WebRTC
- Host: GitHub
- URL: https://github.com/viveksb007/webrtc-signalling
- Owner: viveksb007
- Created: 2020-04-11T15:26:17.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2020-05-21T07:52:12.000Z (about 6 years ago)
- Last Synced: 2025-01-28T15:16:58.025Z (over 1 year ago)
- Topics: gradle, reactjs, spring-boot, webrtc, webrtc-signaling, websocket
- Language: JavaScript
- Homepage: https://webrtc-viveksb007.herokuapp.com
- Size: 465 KB
- Stars: 1
- Watchers: 3
- Forks: 3
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Web RTC Chat System
[](https://circleci.com/gh/viveksb007/webRTC-signalling)
This project is an experiment to create a WebRTC chat system. Using SpringBoot to create Signalling server and ReactJS for frontend client. It supports multiple peers to chat.
## Development
### To start locally
`./gradlew bootRun`
This will start server at http://localhost:8080, open it in two tabs and try messaging.
### To run locally for testing: (assuming npm is installed)
1) `cd` to webRTC-client package
- run command `npm install` (you only need to this the first time or if you make changes to package.json)
- run command `npm start` You should now have a local frontend server running at
2) Start backend server separately, if you are using IntelliJ, just run `WebRTCApplication.java`
3) Open **Development Console** of browser -- you should be able to see logs of messages
4) Open another in browser to create 2 peers for sending messages
### Build JAR
In project root folder, run `./gradlew build` in MacOS/Linux or just `gradlew build` in Windows
## Deployment
You can easily deploy it anywhere as you would deploy any regular SpringBoot app.
Its currently deployed at
## Contribution
Feel free to checkout the project, submit issues and enhancement requests.