Skip to content

Simple real-time Socket.io countdown timer using Socket.IO and Vue.JS

Notifications You must be signed in to change notification settings

sdclarkelab/socket.io-countdown-timer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

socket.io-countdown-timer

Simple real-time countdown timer that allows multiple client connections to update and view the same timer instance on the server.

Features

  • Create or join a Socket.IO room.
  • Set timer duration.
  • Multiple clients can Start, Stop, Pause and Resume the same timer instance. Example: Client_A can start a timer_1, and Client_B can view, pause and stop timer_1.

How to run the project for the first time?

# To run client:
$ cd client
$ npm i
$ npm run serve

# To run server:
$ cd server
$ npm i
$ npm run api