Skip to content

zazuko/prefix-server

Repository files navigation

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.