Skip to content

kilab/node-ts-ws-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Basic WebSocket server written in TypeScript and running on Node.js.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published