https://github.com/oslokommune/bydelsfakta
Bydelsfakta is a frontend application for Oslo municipality which visualises demographic statistics and data on various topics for the 15 districts in the City of Oslo.
https://github.com/oslokommune/bydelsfakta
bydelsfakta d3 data-visualization dataplatform dataspeilet visualises-demographic-statistics vue
Last synced: 6 months ago
JSON representation
Bydelsfakta is a frontend application for Oslo municipality which visualises demographic statistics and data on various topics for the 15 districts in the City of Oslo.
- Host: GitHub
- URL: https://github.com/oslokommune/bydelsfakta
- Owner: oslokommune
- License: mit
- Created: 2019-01-04T16:12:36.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2025-12-03T12:03:45.000Z (7 months ago)
- Last Synced: 2025-12-06T15:50:26.933Z (7 months ago)
- Topics: bydelsfakta, d3, data-visualization, dataplatform, dataspeilet, visualises-demographic-statistics, vue
- Language: JavaScript
- Homepage: https://bydelsfakta.oslo.kommune.no
- Size: 18.4 MB
- Stars: 10
- Watchers: 13
- Forks: 5
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Bydelsfakta
👉 **https://bydelsfakta.oslo.kommune.no/**
Bydelsfakta is a frontend application for Oslo municipality which visualises demographic statistics and data on various topics for the 15 districts in the City of Oslo.
#### Install dependencies
Install dependencies in both the root folder and the server folder for the backend
```
npm install
cd server && npm install
```
#### Run it locally for local development
In order to run this application, two different services is needed: one for frontend and one for backend
##### Frontend
```
npm run serve
```
##### Backend
Need to build the frontend once before running the backend
```
npm run backend
```
The backend needs some local variables, these are mostly secret, so if you need them then send us a DM and we could give you access.
#### Build the project
```
npm run build
```
#### Run jest tests
```
npm run test:unit:watch
```
#### Lints and fixes files
```
npm run lint
```
#### Stylelint
```
npm run lint:style:fix
```
#### Github Actions
We now use github actions to build the bydelsfakta-frontend, so you can check out when the last successfull build was built in the actions-tab.