https://github.com/weso/shexkellweb
ShEx implementation in Haskell - Web module
https://github.com/weso/shexkellweb
shape-expressions shex
Last synced: about 1 month ago
JSON representation
ShEx implementation in Haskell - Web module
- Host: GitHub
- URL: https://github.com/weso/shexkellweb
- Owner: weso
- License: mit
- Created: 2017-06-14T10:18:00.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2017-06-14T12:13:21.000Z (about 8 years ago)
- Last Synced: 2025-02-16T21:46:38.609Z (4 months ago)
- Topics: shape-expressions, shex
- Language: HTML
- Size: 6.84 KB
- Stars: 1
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Shexkell Web #
Web interface for [Shexkell](https://github.com/weso/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](https://hackage.haskell.org/package/Spock).The dependency to Shexkell is referenced in the file `stack.yaml`
To run the service:
```sh
$ 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.
```sh
$ 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