security-force-monitor / sfm-proxy

Security Force Monitor CSV proxy
MIT License
5 stars 2 forks source link

Integrate with real backend #19

Open jpmckinney opened 8 years ago

jpmckinney commented 8 years ago

See all @backend comments in code, and all calls to connection (MongoDB). (See also @production comments that aren't really related to the backend.)

Notable changes to make:

The backend may want to store events_count as a calculated field to reduce the number of queries necessary to build the API response. To filter people by events_count, the current implementation requires a events_count calculated field on the Person class.

jpmckinney commented 8 years ago

Changes based on POC v2 #28: