Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

sbom-reporting

Reporting frontend for SBOM data managed in Dependency-Track.

Prerequisites

  • Node.js — version pinned in .nvmrc (nvm use)
  • pnpm — version pinned via packageManager in package.json (corepack enable)
  • Docker (optional, for building the container image)

Development

pnpm install
cp .env.example .env.local   # set DT_API_KEY
pnpm dev

Open 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)

Container

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-reporting

The container listens on port 3000 and exposes a health endpoint at /api/health.

License

Apache License 2.0

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages