https://github.com/tans105/websocket-demo-server
A simple websocket based server for a chat app
https://github.com/tans105/websocket-demo-server
chat chat-application java spring-boot spring-websocket websocket websocket-application websocket-server
Last synced: about 1 month ago
JSON representation
A simple websocket based server for a chat app
- Host: GitHub
- URL: https://github.com/tans105/websocket-demo-server
- Owner: tans105
- Created: 2020-05-15T15:18:47.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2020-05-20T16:33:56.000Z (about 6 years ago)
- Last Synced: 2025-08-18T19:48:51.644Z (10 months ago)
- Topics: chat, chat-application, java, spring-boot, spring-websocket, websocket, websocket-application, websocket-server
- Language: Java
- Homepage:
- Size: 6.84 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
### Websocket-server-demo
A simple websocket based server. Currently supports 2 message mapping and 1 heartbeat API
- `/chat.sendMessage` - Public messaging
- `/chat.addUser` - When adding a new user
- `/hearbeat` - `GET` - To see if the deployment is working fine
An event listener is provided to handle events of
- User connection
- User disconnection
#### Demo
- Hearbeat API `GET` - http://pure-gorge-41603.herokuapp.com/heartbeat
- Websocket API `ws` - http://pure-gorge-41603.herokuapp.com/ws
Here is [link](https://github.com/tans105/websocket-demo-client "chat app client") to the client application if you want to play around locally. Instruction are there in the README for it.