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.
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
- 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
This project is licensed under the MIT License - see the LICENSE file for details.