Server Architecture - 18F/eiti-data GitHub Wiki

The server architecture will be a relatively light-weight Node.js app using Express.

Data Sources

Data sources are managed by Festoon. Check that project for usage docs. In short, though:

  1. Data sources will be needed to be loaded (at runtime) and made available as template data.
  2. Data sources will need to define distinct URL hierarchies, e.g. /locations/onshore/:state should only return 200 responses (and include state-specific template data) for entries the states data source.