Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/zemkogabor/socket.io-service
Socket.io multiple node support and custom Express.js endpoints.
https://github.com/zemkogabor/socket.io-service
Last synced: about 7 hours ago
JSON representation
Socket.io multiple node support and custom Express.js endpoints.
- Host: GitHub
- URL: https://github.com/zemkogabor/socket.io-service
- Owner: zemkogabor
- License: mit
- Created: 2022-07-07T19:31:32.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-07-19T19:28:51.000Z (over 2 years ago)
- Last Synced: 2023-03-21T04:45:48.533Z (over 1 year ago)
- Language: JavaScript
- Size: 83 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Socket.io - Realtime Service
- Socket.io as a service.
- Multiple node support.
- Custom Express.js endpoints.
- Include `/admin` namespace with room token auth. (Each user is placed in a room based on their token.)## Endpoints
- `POST /emit` - Emit event on websocket
- `event`
- `namespace`
- `room`
- `data`
- `GET /healthcheck` - For healthcheck## Install Dev
```shell
$ cp .env.example .env
``````shell
$ docker-compose run --rm socket yarn install
``````shell
$ docker-compose up -d
```