Read-only mirror of https://github.com/DCC-BS/datenkatalog-dashboard — Basel-Stadt. Issues & pull requests at the source.
  • Vue 70.2%
  • TypeScript 27.4%
  • CSS 1.4%
  • Dockerfile 1%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Renato Farruggio 2f817df1f1 fix: fetch Datenkatalog data via a server API (from #16).
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-25 12:35:17 +01:00
.github/workflows Apply Renovate dependency and Docker updates. 2026-10-27 18:56:34 +01:00
app fix: fetch Datenkatalog data via a server API (from #16). 2026-11-25 12:35:17 +01:00
public Remove the data.bs image next to the contact block. 2026-10-27 18:57:15 +01:00
server/api fix: fetch Datenkatalog data via a server API (from #16). 2026-11-25 12:35:17 +01:00
.dockerignore Add Docker support with Dockerfile, .dockerignore, and GitHub Actions workflow; include example environment variables in .env.example and update README for setup instructions. 2026-06-24 16:06:54 +02:00
.env.example fix: fetch Datenkatalog data via a server API (from #16). 2026-11-25 12:35:17 +01:00
.gitignore Update dataset id from 100542 to 100537 2026-07-21 15:58:06 +02:00
bun.lock Update bs-dashboard-base to v0.2.4. 2026-11-25 12:08:38 +01:00
Dockerfile Bump Node Docker image to 24.22.3. 2026-11-25 12:28:37 +01:00
nuxt.config.ts fix: fetch Datenkatalog data via a server API (from #16). 2026-11-25 12:35:17 +01:00
package.json Pin Bun to 1.4.5 in packageManager and Dockerfile. 2026-11-25 12:11:32 +01:00
README.md fix: fetch Datenkatalog data via a server API (from #16). 2026-11-25 12:35:17 +01:00
renovate.json Apply Renovate dependency and Docker updates. 2026-10-27 18:56:34 +01:00
tsconfig.json Add initial project setup with configuration files and package management 2026-06-12 16:43:40 +02:00

Datenkatalog Dashboard

Dashboard for the data catalog (Datenkatalog), built with Nuxt 4.

Prerequisites

  • Bun 1.4.4 (see the packageManager field in package.json)
  • Node.js 24.22.1 (only required for Docker; the runtime image uses it)

Environment variables

Copy the example file and fill in your values:

cp .env.example .env
Variable Description
NUXT_BS_API_KEY Server-only API key for the data.bs.ch open data portal
NUXT_FEEDBACK_GITHUB_TOKEN GitHub token used by the feedback feature

Portal access runs through /api/datenkatalog. Do not use NUXT_PUBLIC_* for API keys.

Running without Docker

Install dependencies and start the dev server with hot reload:

bun install
bun run dev

The app is available at http://localhost:3000/datenkatalog-dashboard/.

To build and run a production preview locally:

bun run build
bun run preview

Running with Docker

The 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-dashboard

The 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.yml workflow on pushes to main and on tags.