Skip to content

Swap BetterVoting table from mock to live GlobalElectionStats call #32

Description

@ArendPeter

Part of #18

What to build

Replace the hardcoded fixture from #28 with a real fetch to the deployed GlobalElectionStats (by_year) endpoint, proxied through the existing Heroku CORS proxy. Per the map's Notes, the proxy is a confirmed blind passthrough with no host allow-list, so this needs no proxy-side changes — just a client-side fetch path. No auth header is expected (unlike the mailchimp/nationbuilder branches in req()), pending whatever #19 finds when it confirms the deployed shape.

Only proceed once #19 has confirmed the deployed response actually matches the shape the mock in #28 assumed — if #19 records drift, adapt the mapping to match reality rather than the original assumption.

Acceptance criteria

Blocked by

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    ready-for-agentFully specified, ready for an AFK agent

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions