mirror of
https://github.com/DCC-BS/verzeichnis-der-verfahren-mit-personendaten.git
synced 2026-12-04 16:18:48 +00:00
Read-only mirror of https://github.com/DCC-BS/verzeichnis-der-verfahren-mit-personendaten — Basel-Stadt. Issues & pull requests at the source.
- Vue 61.6%
- TypeScript 36.5%
- Dockerfile 1.9%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
| .github/workflows | ||
| app | ||
| public/icons | ||
| server/api | ||
| .dockerignore | ||
| .env.example | ||
| .gitignore | ||
| biome.json | ||
| bun.lock | ||
| Dockerfile | ||
| LICENSE | ||
| nuxt.config.ts | ||
| package.json | ||
| README.md | ||
| renovate.json | ||
| tsconfig.json | ||
Verzeichnis der Verfahren mit Personendaten
Nuxt application for the Verzeichnis der Verfahren mit Personendaten.
Prerequisites
- Bun
1.4.4(see thepackageManagerfield inpackage.json) - Node.js
24.22.2(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/verfahren. 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.
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 8030.
Build the image:
docker build -t verzeichnis-der-verfahren-mit-personendaten .
Run the container, passing your environment variables and mapping the port:
docker run --rm -p 8032:8032 --env-file .env verzeichnis-der-verfahren-mit-personendaten
The app is then available at http://localhost:8032.
The same image is built and pushed to GitHub Container Registry by the
.github/workflows/docker.ymlworkflow on pushes tomainand on tags.