Skip to content

Latest commit

 

History

History
44 lines (30 loc) · 1 KB

README.md

File metadata and controls

44 lines (30 loc) · 1 KB

Shexkell Web

Web interface for Shexkell

Structure

The project structure is the following:

ShexkellWeb API

Backend service that performs the validation. Receives HTTP requests with the data to validate, and responds with the resulting ShapeMap. Uses the Spock web framework.

The dependency to Shexkell is referenced in the file stack.yaml

To run the service:

$ cd ShexkellWeb-API
$ stack setup
$ stack build
$ stack exec ShexkellWeb-exe

By default, the service listens on port 8080

ShexkellWeb Interface

Front-end to the API. Allows to enter the validation data in the web browser.

To set up the project:

You must have npm and gulp installed.

$ cd ShexkellWeb-Interface
$ npm install # Choose the default options
$ cd semantic
$ gulp build

The path to the API endpoint is hardcoded in scripts/shexkell.js

Once set up, open the file shexkell.html in your web browser of choice