climate-cooperative / home-energy-calculator

https://app.zwell.io/
Apache License 2.0
2 stars 3 forks source link

Move Calculations to API #55

Open rgraue opened 2 months ago

rgraue commented 2 months ago

Description

The FE does a lot of heavy lifting in terms of calculation, especially when rendering the results page. This is a perfect example of something to move to the backend.

This also provides a better separation of concerns between logic and rendering.

In terms of contribution, this will also help introduce an area for improvement and pattern for expansion.

Technical Notes

Create new path in api to handle calculation of results. /score???

Risks

Both FE and BE will need to be worked on simultaneously. Some coordination there.

Related Issues Or Discussions

[...Issues]