Dashboard for the data catalog (Datenkatalog), built with Nuxt 4.
- Bun
1.2.20(see thepackageManagerfield inpackage.json) - Node.js
24(only required for Docker; the runtime image uses it)
Copy the example file and fill in your values:
cp .env.example .env| Variable | Description |
|---|---|
NUXT_PUBLIC_BS_API_KEY |
API key for the data.bs.ch open data portal |
NUXT_FEEDBACK_GITHUB_TOKEN |
GitHub token used by the feedback feature |
Install dependencies and start the dev server with hot reload:
bun install
bun run devThe app is available at http://localhost:3000/datenkatalog-dashboard/.
To build and run a production preview locally:
bun run build
bun run previewThe Dockerfile builds the app and serves it with the Nitro production server on
port 8031.
Build the image:
docker build -t datenkatalog-dashboard .Run the container, passing your environment variables and mapping the port:
docker run --rm -p 8031:8031 --env-file .env datenkatalog-dashboardThe app is then available at http://localhost:8031/datenkatalog-dashboard/.
The same image is built and pushed to GitHub Container Registry by the
.github/workflows/docker.ymlworkflow on pushes tomainand on tags.