Skip to content

fiurrr/serverTime

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

DEPENDENCIES: v1.0

express
npm install express

v2.0

express
npm install express

socket.io
npm install --save socket.io

v1.0 uses rest api in express framework. Wep application send request every second looking for /api/current.

v2.0 uses Socket.IO framework which extend express and uses websockets. Server is sending time update every second to all connected clients.

To run application simply run concrete server.js (node server.js) file. All necessary files are hosted. Default server port is 3000, so in browser type localhost:3000 to se results.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published