Skip to content

Fiscal datapackage visualisations and dashboard

License

Notifications You must be signed in to change notification settings

openspending/os-viewer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

c872123 · Nov 20, 2019
Jul 2, 2019
May 30, 2017
Jul 2, 2019
Nov 20, 2019
Nov 20, 2018
May 30, 2017
Feb 23, 2018
Dec 19, 2016
Nov 20, 2019
Feb 7, 2019
Feb 1, 2016
Feb 7, 2019
Mar 7, 2019
Feb 5, 2017
Feb 1, 2016
Feb 28, 2018
Sep 4, 2019
Sep 4, 2019
Feb 7, 2019

Repository files navigation

OS Viewer

Gitter Build Status Issues Docs

An app to view data packages loaded to OpenSpending. Provides access to raw data, access to an API for the data, and a suite of views to visualise the data.

Quick start

Clone the repo, install dependencies from npm, and run the server:

npm install
npm run build
npm start

For development, environmental variables can be added to a .env file in the root directory, and the following values can be configured:

# Required settings
# Base URL for the application, e.g. 'http://localhost' or 'https://openspending.org'
OS_BASE_URL=

# Optional settings
# base path defaults to 'viewer/'. Use '/' for development.
OS_VIEWER_BASE_PATH=
OS_SNIPPETS_GA=
OS_SNIPPETS_RAVEN=
SENTRY_DSN=

# Cosmopolitan API url (defaults to '//cosmopolitan.openspending.org/v1/')
OS_VIEWER_API_COSMO_HOST=
# URL for the associated Redash instance
OS_VIEWER_DATAMINE_HOST=

# Each service below will use OS_BASE_URL unless overridden here:
OS_API_URL=
OS_EXPLORER_URL=
OS_CONDUCTOR_URL=

About

Fiscal datapackage visualisations and dashboard

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published