https://github.com/mat-sz/poll-ws
🗳️ Decision making software backend (TypeScript/node/WebSockets).
https://github.com/mat-sz/poll-ws
nodejs typescript websocket websocket-server
Last synced: about 1 month ago
JSON representation
🗳️ Decision making software backend (TypeScript/node/WebSockets).
- Host: GitHub
- URL: https://github.com/mat-sz/poll-ws
- Owner: mat-sz
- License: bsd-3-clause-clear
- Created: 2020-05-09T16:43:16.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2020-07-01T16:01:38.000Z (almost 6 years ago)
- Last Synced: 2025-01-10T03:35:00.916Z (over 1 year ago)
- Topics: nodejs, typescript, websocket, websocket-server
- Language: TypeScript
- Size: 106 KB
- Stars: 0
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# poll-ws
WebSockets server for [poll-web](https://github.com/mat-sz/poll-web).
More details about the project are available in the [poll-web](https://github.com/mat-sz/poll-web) repository.
## Installation
Run `yarn install`, `yarn build` and then simply run `yarn start`. For development you can also run poll-ws with live reload, `yarn dev`.
## Configuration
`dotenv-flow` is used to manage the configuration.
The following variables are used for the configuration:
| Variable | Default value | Description |
| ---------- | ------------- | ---------------------- |
| `APP_HOST` | `127.0.0.1` | IP address to bind to. |
| `APP_PORT` | `5000` | Port to bind to. |