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.
Prerequisites
Section titled “Prerequisites”- Go 1.26+
- Node.js 22+
- Docker (for PostgreSQL)
golang-migrateCLI
1. Start PostgreSQL
Section titled “1. Start PostgreSQL”docker compose up -d postgresThis 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.
2. Run migrations
Section titled “2. Run migrations”make migrate-up3. Build with console and widgets
Section titled “3. Build with console and widgets”make build-allThis 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.
4. Configure
Section titled “4. Configure”cp config.example.yaml config.yamlEdit config.yaml and enable the console:
console: enabled: true5. Start the server
Section titled “5. Start the server”./bin/quorum -config config.yamlOnce 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 Olawale Lawal.