Skip to content

Latest commit

 

History

History
36 lines (23 loc) · 1.13 KB

README.md

File metadata and controls

36 lines (23 loc) · 1.13 KB

WebSocker server in TypeScript for Node.js

This repository contain simple example showing how to create WebSocket server for Node.js in TypeScript. Included is also WebSocket client to show how to connect to server.

Please treat this code as example, not production application starter.

Installing

Clone this repository to your local development environment:

git clone https://github.com/kilab/node-ts-ws-server.git

Install all dependencias using NPM:

cd node-ts-ws-server && npm install

Run development server:

npm run start:dev

Built With

  • Node.js - JavaScript runtime built on Chrome's V8 JavaScript engine
  • TypeScript - Typed superset of JavaScipt that compiles to plain JavaScript
  • WebSocket-Node - WebSocket Client & Server Implementation for Node.js
  • nodemon - Monitor for any changes in Node.js application and automatically restart the server

License

This project is licensed under the MIT License - see the LICENSE file for details.