Skip to content

Repository files navigation

sandboxes-app

The member-facing Sandboxes SPA, served at sandboxes.<domain>.

Start a sandbox, get a shell in the browser, stop it, share it. The organization-wide fleet view lives in the Console; this app is scoped to the caller's own sandboxes and the ones shared with them.

Develop

pnpm install
pnpm generate     # protobuf-es clients from buf.build/agynio/api
pnpm dev

pnpm dev proxies /api to VITE_PROXY_TARGET (default http://gateway:8080).

Script Purpose
pnpm lint ESLint
pnpm typecheck tsc --noEmit
pnpm test Vitest
pnpm build Production bundle into dist/

Configuration

Runtime configuration is read from window.__ENV__, written by the container entrypoint from environment variables — so one image serves every environment.

Variable Purpose
API_BASE_URL Gateway base path. Defaults to /api, same-origin
OIDC_AUTHORITY OIDC issuer
OIDC_CLIENT_ID OIDC client
OIDC_SCOPE Requested scopes
OIDC_RESOURCE Resource indicator, when the issuer needs one for a JWT access token

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages