The new Lambdas that support the React UI have duplicative code blocks. We should refactor these into a gem file that can be installed into the Lambda images and are also available to the other Lambdas that back the API endpoints.
For example RDS connection logic, Search result weighing/sorting, and standardized response and error handling could all be shared.
The new Lambdas that support the React UI have duplicative code blocks. We should refactor these into a gem file that can be installed into the Lambda images and are also available to the other Lambdas that back the API endpoints.
For example RDS connection logic, Search result weighing/sorting, and standardized response and error handling could all be shared.