Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bearury/nodejs_task-4_websocket_remote_control
https://github.com/bearury/nodejs_task-4_websocket_remote_control
Last synced: 15 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/bearury/nodejs_task-4_websocket_remote_control
- Owner: bearury
- Created: 2023-01-14T04:36:31.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-01-22T14:11:40.000Z (almost 2 years ago)
- Last Synced: 2024-12-17T07:22:15.499Z (23 days ago)
- Language: TypeScript
- Size: 526 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# RSSchool NodeJS websocket task template
> Static http server and base task packages.
> By default WebSocket client tries to connect to the 8080 port.## Installation
1. Clone/download repo
2. `npm install`## Usage
**Development**
`npm run start:dev`
- App served @ `http://localhost:8181` with nodemon
**Production**
`npm run start`
- App served @ `http://localhost:8181` without nodemon
---
**All commands**
| Command | Description |
| ------------------- | ---------------------------------------------------- |
| `npm run start:dev` | App served @ `http://localhost:8181` with nodemon |
| `npm run start` | App served @ `http://localhost:8181` without nodemon |**Note**: replace `npm` with `yarn` in `package.json` if you use yarn.