How navikt/nada-markedsplassen works
NAV’s Data Markedsplassen is an internal web application for organizing, discovering, and managing shared data and enabling collaboration. Users discover product areas and search, then can manage data products, datasets, access, Metabase publishing, stories, and workstations through the frontend and Go backend. The graph preserves these documented and tree-visible product areas, while detailing the sampled BigQuery request path and backend storage composition. Many frontend and backend domain modules were not sampled, so their internal call relationships are omitted rather than inferred.
Main entry points: bigquery_datasource_missing.go Missing-table cleanup · index.tsx Home and discovery · service_bigquery.go BigQuery service · queries.tsx Data product UI
Components 21
Frontend
- Home and discovery
frontend/pages/index.tsx - Search
frontend/pages/search.tsx - Data product UI
frontend/components/dataproducts/queries.tsx - Metabase publishing UI
frontend/components/dataproducts/metabaseBigquery.tsx - Workstation UI
frontend/components/workstation/queries.tsx - REST request client
frontend/lib/rest/request.ts
Backend API
- HTTP routes
pkg/service/core/routes/routes_big_query.go - BigQuery handlers
pkg/service/core/handlers/handler_bigquery.go - BigQuery service
pkg/service/core/service_bigquery.go - Storage composition
pkg/service/core/storage/storage.go - Postgres stores
pkg/service/core/storage/postgres - Postgres database
pkg/database/repo.go - Backend runtime
cmd/nada-backend/main.go
Data capabilities
- Data products and access
pkg/service/core/service_dataproducts.go - Insight products and stories
pkg/service/core/service_insight_product.go - Workstations
pkg/service/core/service_workstations.go - Metabase integration
pkg/service/core/service_metabase.go - BigQuery
pkg/bq/bq.go
Platform operations
- Scheduled synchronizers
pkg/syncers/syncers.go - Missing-table cleanup
pkg/syncers/bigquery_datasource_missing/bigquery_datasource_missing.go
Other components
- NAV user
Connections 19
- NAV user → Home and discovery: opens
frontend/pages/index.tsx - NAV user → Search: searches
- Home and discovery → Search: submits search
- Home and discovery → Data product UI: navigates to
- Data product UI → REST request client: uses requests
frontend/components/dataproducts/queries.tsx - Metabase publishing UI → Data product UI: uses queries
frontend/components/dataproducts/metabaseBigquery.tsx - Workstation UI → REST request client: uses requests
- Backend runtime → HTTP routes: registers routes
- HTTP routes → BigQuery handlers: builds endpoints
pkg/service/core/routes/routes_big_query.go - BigQuery handlers → BigQuery service: calls service
pkg/service/core/handlers/handler_bigquery.go - Storage composition → Postgres stores: creates stores
pkg/service/core/storage/storage.go - Postgres stores → Postgres database: uses repository
- Backend runtime → Scheduled synchronizers: starts synchronizers
cmd/nada-backend/main.go - Scheduled synchronizers → Missing-table cleanup: runs cleanup
- Missing-table cleanup → BigQuery: checks tables
pkg/syncers/bigquery_datasource_missing/bigquery_datasource_missing.go - Missing-table cleanup → Metabase integration: deletes database
pkg/syncers/bigquery_datasource_missing/bigquery_datasource_missing.go - Missing-table cleanup → Data products and access: deletes dataset
pkg/syncers/bigquery_datasource_missing/bigquery_datasource_missing.go - BigQuery service → BigQuery: fetches metadata
pkg/service/core/service_bigquery.go - BigQuery service → Postgres stores: updates metadata