Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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.