Skip to content

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

Notifications You must be signed in to change notification settings

batazo/SOCKET-SERVER-CLIENT-DEMO

Repository files navigation

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published