index file to provide client to socket connection
socket.io dependency added
server sends data to client via socket every second