JimothyGreene / EE461L-Group2-FinalProject

Semester project for EE 461L (Software Engineering Lab)
https://ee461l-final-project-group2-poc6jfma5a-uc.a.run.app/
0 stars 0 forks source link

Billing Backend #132

Closed ishan0102 closed 3 years ago

ishan0102 commented 3 years ago

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