Getting started

This guide runs DBO Studio on your machine: API, web UI, optional sample databases, and the desktop app.

Prerequisites

ToolVersionNeeded for
Go1.23 or newerAPI
Node.js20.12.2 or newerUI and build
DockeroptionalSample Postgres / MySQL
Rust + WebView depsstableDesktop only

Run the API

From the backend directory:

bash
cd backend
cp .env.example .env
go run .

The .env copy is optional — defaults are enough for local work. The API listens on http://localhost:8080 unless you set APP_PORT. See Configuration.

go run . serve is the same command.

For hot reload, run Air in that directory.

Run the UI

bash
cd frontend
cp .env.example .env
npm install
npm run dev

Vite serves http://localhost:3000 and proxies API calls to http://localhost:8080/api when VITE_PUBLIC_SERVER_URL is unset.

Sample databases

If the API and UI already run on the host, start only the sample engines:

bash
docker compose -f docker-compose.dev.yml up -d sample-pgsql sample-mysql
EngineHostCredentials
Postgreslocalhost:5432default / secret, database default
MySQLlocalhost:3307default / secret, database default

To run API, UI, and samples together:

bash
docker compose -f docker-compose.dev.yml up -d

Note: That Compose file is for development. Production is a single image — see Docker.

Port clashes on the host are overridden with DB_TEST_PORT and MYSQL_TEST_PORT. The full list is in Configuration.

Desktop

From the repository root:

bash
make desktop-dev

This builds the backend sidecar and starts the Tauri dev app.

Next steps

Previous

Documentation

Next

Building