mirror of
https://github.com/DCC-BS/datenkatalog-dashboard.git
synced 2026-08-26 10:14:37 +00:00
Read-only mirror of https://github.com/DCC-BS/datenkatalog-dashboard — Basel-Stadt. Issues & pull requests at the source.
- Vue 65.2%
- TypeScript 32.3%
- CSS 1.3%
- Dockerfile 1.2%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
|
|
||
| .github/workflows | ||
| app | ||
| public | ||
| .dockerignore | ||
| .env.example | ||
| .gitignore | ||
| bun.lock | ||
| Dockerfile | ||
| nuxt.config.ts | ||
| package.json | ||
| README.md | ||
| tsconfig.json | ||
Datenkatalog Dashboard
Dashboard for the data catalog (Datenkatalog), built with Nuxt 4.
Prerequisites
- Bun
1.2.20(see thepackageManagerfield inpackage.json) - Node.js
24(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_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 |
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.ymlworkflow on pushes tomainand on tags.