ezref

A castor-core app to serve static files

Usage no npm install needed!

<script type="module">
  import ezref from 'https://cdn.skypack.dev/ezref';
</script>

README

ezref

App for ezmaster, that can serve .json and .csv files through http.

Install

Get the files.

Go in the directory.

Install the app:

$ npm install

Run

Create a directory to serve (data). Create a settings file, besides data, named data.json. Put the port to use in data.json:

{
    "port": 35000
}

Run the server:

$ node ./cli path-to-directory-to-serve