Skip to content

Latest commit

 

History

History
13 lines (9 loc) · 1.34 KB

README.md

File metadata and controls

13 lines (9 loc) · 1.34 KB

Richmond Sunlight API

The RESTful API for Richmond Sunlight.

Code Climate Deploy Process

Purpose

This is the API for Richmond Sunlight, used both by third parties and by the site itself. Only the bill and legislator pages consume the API, although those two pages comprise the great majority of the site traffic.

History

This used to be part of the main repository, but was forked out on its own in late 2016. It was created in ~2009, and hasn’t much been touched since.

Infrastructure

It lives on the same EC2 instance as the front-end, though it in a separate webroot, has its own TLS certificate, etc. There is no reason why it could not run on its own server, but that’s not necessary under the standard traffic load. Source updates are delivered via GitHub Pages -> AWS CodeDeploy. (Note that the includes/ directory is pulled from the deploy branch of richmondsunlight.com repository on each build.)