Skip to content

Harvests and normalises OpenActive Opportunity feeds to a common representation

License

Notifications You must be signed in to change notification settings

openactive-archive/conformance-services

Repository files navigation

Open Active Conformance Services

A suite of tools to discover, download, normalise, enhance and republish data that uses the OpenActive specification.

Quick Start

Prepare

Set up a Postgres database and user. Record the details.

These instructions assume Linux.

Configuration

Set environment variable:

DATABASE_URL=postgres://user:pass@host:port/database

Install

$ npm install
$ npm run migrate

Data tools

Run each of these in turn to run the full pipeline. See

Webserver

  • $ npm run start-webserver Runs webserver providing JSON output of certain data for use by status

Running the tests

Note : Tests are destructive to any existing data. Create a dedicated database before running them.

To run the tests:

$ DATABASE_URL=postgres://test:test@localhost/testing ./node_modules/mocha/bin/mocha

About

Harvests and normalises OpenActive Opportunity feeds to a common representation

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published