mirror of
https://github.com/DCC-BS/verzeichnis-der-verfahren-mit-personendaten.git
synced 2026-08-26 10:24:17 +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 55.1%
- TypeScript 42.1%
- Dockerfile 2.8%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
- Added `bs-dashboard-base` dependency in `package.json` and `bun.lock`. - Refactored `nuxt.config.ts` to use local path for `bs-dashboard-base`. - Introduced new `app.config.ts` for application configuration. - Removed `AppHeader.vue` and `SiteFooter.vue` components to streamline layout. - Updated `VerfahrenAccordion.vue` to utilize a new accordion structure. - Enhanced API handling in `verfahren.get.ts` for improved data fetching. |
||
| .github/workflows | ||
| app | ||
| public/icons | ||
| server/api | ||
| .dockerignore | ||
| .env.example | ||
| .gitignore | ||
| biome.json | ||
| bun.lock | ||
| Dockerfile | ||
| LICENSE | ||
| nuxt.config.ts | ||
| package.json | ||
| README.md | ||
| tsconfig.json | ||
Verzeichnis der Verfahren mit Personendaten
Nuxt application for the Verzeichnis der Verfahren mit Personendaten.
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.
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.