Skip to content

Latest commit

 

History

History
12 lines (10 loc) · 1.09 KB

README.md

File metadata and controls

12 lines (10 loc) · 1.09 KB

KBC Components Index Explorer

SPA written for educational purpose to learn and experiment with elm lenguage(v0.19.0). It loads json from https://connection.keboola.com/v2/storage, parse it, optionaly filter by componentId, and render it back as json. As the json is huge, it allows to switch between simplified(default) and the whole json view.

Development

  • Install elm
  • run elm reactor
  • go to http://localhost:8000 - opening it for the first time elm reactor will automatically install all the project dependencies(elm packages)
  • go to http://localhost:8000/src/Main.elm and the app will start
  • update source code in src/Main.elm

Build

  • run ./build.sh(needs ugilfy-js npm package) - this will create main.min.js in the build directory. Copy it along with existing build/index.html to destination serving it as SPA.