pgh-public-meetings / city-scrapers-pitt

Pittsburgh City Scrapers: sourcing public meetings in Pittsburgh
https://pgh-public-meetings.github.io/events/
MIT License
19 stars 66 forks source link

Support integration testing locally #183

Open will-snavely opened 3 years ago

will-snavely commented 3 years ago

I talked about this with @ben-nathanson a little bit yesterday. It would be useful for developers to stand up the full stack locally when testing their spider. In this case that would mean:

  1. Generating the expected json files in the backend (upcoming.json)
  2. Serving the json file somehow, either using a local endpoint or a dev instance of S3
  3. Standing up the front end and pointing it at this endpoint.

I worked on some ideas towards this yesterday that I'll organize into a PR sometime soon.