Skip to content

Console and widgets locally

The quick start builds Quorum as a headless API server. To run the complete stack, with the admin console, the embeddable widgets and a local database, follow these steps.

Terminal window
docker compose up -d postgres

This starts a PostgreSQL 16 container with a quorum database and creates the quorum schema automatically. The database is available at localhost:5432 with credentials quorum:quorum.

Terminal window
make migrate-up
Terminal window
make build-all

This installs frontend dependencies, builds the console and widget bundles, and compiles the Go binary with both embedded. The console and the widgets are opt-in Go build tags; make build-console and make build-embed build one without the other.

Terminal window
cp config.example.yaml config.yaml

Edit config.yaml and enable the console:

console:
enabled: true
Terminal window
./bin/quorum -config config.yaml

Once running, the following endpoints are available:

Endpoint Description
http://localhost:8080/api/v1/ REST API
http://localhost:8080/console/ Admin console
http://localhost:8080/assets/embed.js Widget bundle
http://localhost:8080/health Health check

On first visit to the console you will be prompted to create an admin operator.

Quorum is built by .