Skip to content

MillenniumDB/MillenniumDB-browser

Repository files navigation

MillenniumDB browser interface

Configuration

Environment variables

For development or production you will need to provide a .env file with the following variables:

# The URL of the remote MillenniumDB instance
VITE_MDB_SERVER_URL="ws://localhost:1234"

# The base URL for the app https://vitejs.dev/config/shared-options.html#base
VITE_APP_BASE_URL="/"

Query examples

Optionally you can provide a set of examples at src/data/examples.js. You need to provide javascript objects with the following structure:

const examples = [
  {
    title: 'Get 100 triples',                       // The title of the example
    query: 'SELECT * WHERE { ?s ?p ?o } LIMIT 100', // The query to execute
  },
];

export default examples;

Development

Install dependencies:

npm install

Start the development server:

npm run dev

Build for production

Install dependencies:

npm install

Build the app:

npm run build

About

The official MillenniumDB browser interface

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages