This is the code behind: https://www.digitale-gesellschaft.ch/auskunftsbegehren
Please open issues here for anything you find not working correctly with the Application. If you miss any organisation or company in the data, feel free to open Pull Requests at the Data Repository.
Note that you will need to have Node.js installed.
Note that you will need to have a data.json File that needs to be generated with this project: https://github.com/DigitaleGesellschaft/Datenauskunftsbegehren-Data
Copy the data.json file to the folder public/
...then install the dependencies and playwright browsers...
npm install
npx playwright install...then start the webpage
npm run devNavigate to localhost:5173. You should see the App runnning.
If you're using Visual Studio Code we recommend installing the official extension Svelte for VS Code.
To create an optimised version of the app:
npm run previewNavigate to localhost:8080. You should see the App runnning.
Go to https://github.com/DigitaleGesellschaft/Datenauskunftsbegehren/actions and download the Artifact named Public from the latest build. Put all the content into a folder server by a webserver.
Generate production build:
npm run buildCopy everything in /public into a folder served by a Webserver.
Execute various E2E Tests using playwright (against localhost):
npm run test
Execute various E2E Tests using playwright against the deployed version
BASE_URL=https://www.digitale-gesellschaft.ch/auskunftsbegehren npm run test
