Skip to content

Task: Heroku background worker to Open States APIs #2

@kwhinnery

Description

@kwhinnery

We'd like to poll the Open States API on a regular interval in order to send out relevant notifications to subscribers. The target deployment environment for this application is Heroku. We should configure a Procfile and a Node module (put a placeholder here) that will run in a worker dyno on Heroku to poll the APIs. Let's get this in place, and we can tweak the behavior later.

Acceptance criteria

  • Create a function that will execute as a background task on Heroku
  • Create Procfile configuration as necessary
  • Create test for the background function (placeholder is fine for now)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions