Skip to content

server responsible for the interface between THP and Indivisible

Notifications You must be signed in to change notification settings

townhallproject/indivisible-server

Repository files navigation

indivisible-server

server responsible for the interface between THP and Indivisible

Processes

  1. GET events from ActionKit API => firebase database
  1. Convert town halls from THP firebase databse into ActionKit events and POST to API (will be included in pull from API) [Docs](https://docs.actionkit.com/docs/manual/api/rest/examples/addevent.html

  2. GET all active groups from Prosperworks and post them to firebase api, and Mapbox api

Front end site:

  1. Production site that is iFramed into indivisible.org: events
  2. Staging site: events

Troubleshooting

Why isn't this actionkit event showing up on the map?

  1. It doesn't have an issue focus
  • custom field event_issue_focus
  1. It is a recurring event and is more than 3 months in the future
  • Recurring events have custom field is_recurring==='Yes'
  1. It is in the past
  2. The host is not confirmed
  • field host_is_confirmed must be true to be shown on map
  1. Status is not either "active" or "new" (or "staging" to only show on the test map)
  2. The event s private
  • field is_private must be false to be shown on map
  1. The postal code is either 20301 or 000840
  2. The address is 'This event is virtual, Washington, DC 20301'
  3. Is a virtual event:
  • the event has a custom field is_virtual_event. This was used for events that shouldn't show up on the map (pre COVID). This is different from event_virtual_status===digital which will show up on the map.
  1. It's not included in the campaigns we pull from: 9, 15, 21, 24, 27, 28, 38

About

server responsible for the interface between THP and Indivisible

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •