Frontend Setup & Configuration

The SessionDB frontend is a standalone React 18 application built with Vite. It compiles down to a highly optimized static site bundle designed to be served directly by the SessionDB backend.

Local Development (Standalone)

If you are developing features for the UI outside of the standard scli pipeline:

cd ui/
npm install
npm run dev

The frontend relies heavily on dynamic configuration injection rather than static .env build variables.

window._env_ Configuration

To ensure a single built Docker image can run anywhere, the gateway injects standard variables at runtime:

// Example Output served by the Backend at /env.js
window._env_ = {
  API_URL: "https://api.yourdomain.com",
  VERSION: "v1.2.0"
}

We're building a better way.

SessionDB is built by and for the community. The core proxy and query engine will always remain open source. Star us on GitHub to follow our progress toward the 1.0 release.

Join the community

GitHub Discord