Skip to content

Modify civic-json-worker API to work for any city / group #20

@jpvelez

Description

@jpvelez

This civic tech project tracking API is generically useful infrastructure. Instead of having people deploy their own versions of this API, which has proven difficult, we should just modify this service to work for multiple civic hacking groups and cities.

Our API is already up and running. Civic hacking groups would just need to submit their repo urls to the endpoint from their websites. The system would hit the Github API and get additional repo details, just like it's doing for Chicago. Brigades could then request a list of their projects to display on their own project pages.

Here's what would need to happen, as far as I can tell. (@evz, please jump in):

  • The add project endpoint would need to require 'city' and 'group' params for url submissions, and store these along with the url.
  • Add city and group field to the complete project_details.json file. Project pages could then pull only projects for only their cities / groups.

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