Bloom is Exygy’s affordable housing platform. Bloom's goal is to be a single entry point for affordable housing seekers and a hub for application and listing management for developers.
Creates a public endpoint to return the id, longitude, and latitude of every open listing called mapMarkers.
The existing list endpoint will be used with view params to handle the other endpoint case.
How Can This Be Tested/Reviewed?
Using OpenAPI or by hitting the API directly through another client, call listings/mapMarkers
Verify only open listing id's are returned and check the lat and long returned matches what is in the db.
Author Checklist:
[x] Added QA notes to the issue with applicable URLs
[ ] Reviewed in a desktop view
[ ] Reviewed in a mobile view
[ ] Reviewed considering accessibility
[x] Added tests covering the changes
[ ] Made corresponding changes to the documentation
[x] Ran yarn generate:client and/or created a migration when required
Review Process:
Read and understand the issue
Ensure the author has added QA notes
Review the code itself from a style point of view
Pull the changes down locally and test that the acceptance criteria is met
Either (1) explicitly ask a clarifying question, (2) request changes, or (3) approve the PR, even if there are very small remaining changes, if you don't need to re-review after the updates
This PR addresses #(889)
Description
Creates a public endpoint to return the id, longitude, and latitude of every open listing called
mapMarkers
.The existing list endpoint will be used with view params to handle the other endpoint case.
How Can This Be Tested/Reviewed?
Using OpenAPI or by hitting the API directly through another client, call
listings/mapMarkers
Verify only open listing id's are returned and check the lat and long returned matches what is in the db.Author Checklist:
yarn generate:client
and/or created a migration when requiredReview Process: