Skip to content

fishfitz/simple-ws-boilerplate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple WS Boilerplate

A very simple Express + WS server for learning purpose.

Files are small and heavily commented, and they should preferably be read in that order:

  • server.js (entry point of the server)
  • server-http.js
  • server-ws.js
  • interval.js
  • public/index.html
  • public/script.js

Setup

Run npm install

Use

Run node server.js The http server default port is 3000, so the app should be availible on: http://localhost:3000/

About

A very simple Express + WS server for learning purpose

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published