Reporting frontend for SBOM data managed in Dependency-Track.
- Node.js — version pinned in
.nvmrc(nvm use) - pnpm — version pinned via
packageManagerinpackage.json(corepack enable) - Docker (optional, for building the container image)
pnpm install
cp .env.example .env.local # set DT_API_KEY
pnpm devOpen http://localhost:3000.
| Variable | Description |
|---|---|
DT_API_URL |
Dependency-Track API server |
DT_API_KEY |
API key with the VIEW_PORTFOLIO permission (read on the server only) |
| Command | Description |
|---|---|
pnpm dev |
Start the development server |
pnpm build |
Create a production build |
pnpm start |
Start the production server |
pnpm lint |
Run ESLint |
pnpm typecheck |
Generate route types and run tsc |
pnpm test |
Run the unit tests (Vitest) |
The app uses Next.js standalone output and is packaged by the multi-stage Dockerfile.
docker build -t sbom-reporting .
docker run --rm -p 3000:3000 -e DT_API_URL=... -e DT_API_KEY=... sbom-reportingThe container listens on port 3000 and exposes a health endpoint at /api/health.