We had no backend to manage our billing information.
Solution
Add a price field to the hardware model that is decided when a new hardware set is created. When hardware is checked out, the checkout time is stored the cost of usage is periodically updated by multiplying cost per hour * (current time - checkout time).
Testing
Used Postman to make sure checking out hardware would accurately track the cost of usage over time.
Problem
We had no backend to manage our billing information.
Solution
Add a price field to the hardware model that is decided when a new hardware set is created. When hardware is checked out, the checkout time is stored the cost of usage is periodically updated by multiplying cost per hour * (current time - checkout time).
Testing
Used Postman to make sure checking out hardware would accurately track the cost of usage over time.
Closes #79