Open rgraue opened 2 months ago
Create an endpoint (/score) to provide a calculated response that can plug in to the FE: https://github.com/climate-cooperative/home-energy-calculator.
/score
Document req/res models as well
Do similar calculations in the backend.
POST request.
POST
Without Integration Tests, will take coordination with FE to ensure correct payload.
Move Calculations to API
Needs #37 first
Description
Create an endpoint (
/score
) to provide a calculated response that can plug in to the FE: https://github.com/climate-cooperative/home-energy-calculator.Document req/res models as well
Technical Notes
Do similar calculations in the backend.
POST
request.Risks
Without Integration Tests, will take coordination with FE to ensure correct payload.
Related Issues Or Discussions
Move Calculations to API