This repository is a basis for the technical deep dive interview and not actively updated. Please note that the code intentionally includes problems.
GovData.de is the data portal for Germany. The federal, state and local governments can share their data. Although the "Open Data Act" makes it obligatory to share data, only about 135,000 data sets are online so far.
This repository contains a small web application that provides a dashboard showing how many data sets each federal ministry has made available on GovData. The goal of the dashboard is to show which ministries have provided the most data. States, municipalities and other institutions are ignored.
The GovData's CKAN Action API (documentation) was used to retrieve the data. The file departments.json lists all federal ministries and their subordinated agencies that have published data on GovData.
- Node v18 (may work on older versions, but has not been tested)
Install all dependencies
npm install
You can run the application on http://localhost:8080.
npm start
If you want to use a watcher during development, you can use:
npm run watch:start
- Execute
npm test - A watcher is available via
npm run watch:test
-
Run
npm run lintto run check for linting -
Run
npm run lint:fixto fix linting errors (where possible) -
Run
npm run prettier:checkto check formatting -
Run
npm run prettier:writeto fix formatting (where possible).