Skip to content

Latest commit

 

History

History
41 lines (28 loc) · 743 Bytes

README.md

File metadata and controls

41 lines (28 loc) · 743 Bytes

prefix-server

Build Status

RDF prefix / namespaces resolution

Build Setup

# install dependencies
$ npm ci
$ npm run build-data

# serve with hot reload at localhost:3000
$ npm run dev

# build for production and launch server
$ npm run build
$ npm run start

Tests

# run the dev server
$ npm run dev

# run the tests in a window
$ npm run e2e:open

## OR

# run the tests headless
$ npm run e2e:test

Building the resources used by the API

The resources can be rebuilt using npm run build-data.

They are not built by the hot-reload dev server because building the resources takes time.