batazo / SOCKET-SERVER-CLIENT-DEMO

A fictional radio gives you currently playing music Demo for updating your files on a socket server

Home Page:https://socket-server-client-demo.zoltnbata.repl.co

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

USAGE

SET CONFIG.INI

DATAGENERATION :

true or false -> You can enable / disable data.txt generation

SERVERPORT

Server will use this port to run

SEPARATOR

You can set separator character for the datasource file datas (Example : , or ; or other)

DATASOURCEFILE

You can set datasource file path (Example: "./public/NowPaying.txt")

DATANAMES

You can set keys of your datasource file

ALLOWEDHOSTSONSERVER

You can set what client (hosts) can access your server resources

INSTALLATION

Install Node.JS 16 or newer Go to script folder...

Run this example:

  • npm install or yarn
  • npm run dev or yarn dev
  • npm start

DEMOS

CLIENTs ON SERVERHOSTs

https://eke71h.sse.codesandbox.io/client.html https://socket-server-client-demo.zoltnbata.repl.co/client.html

SOCKET ONLY SERVER

(Without clientside demonstation) https://codesandbox.io/s/file-refresher-socket-server-simple-socket-without-static-jkn7i9 https://jkn7i9.sse.codesandbox.io/ (demo)

CLENTs ON OTHER SERVER

####RESPONSIVE VIEW https://www.responsinator.com/?url=https%3A%2F%2Feke71h.sse.codesandbox.io

Git Sources

https://github.com/bzozoo/SOCKET-SERVER-CLIENT-DEMO https://gitlab.com/bzozoo/SOCKET-SERVER-CLIENT-DEMO

About

A fictional radio gives you currently playing music Demo for updating your files on a socket server

https://socket-server-client-demo.zoltnbata.repl.co


Languages

Language:JavaScript 97.7%Language:CSS 1.4%Language:HTML 0.9%