IS-AgroSmart / AgroSmart-Web

1 stars 1 forks source link

Add image number monitoring per user #122

Closed jreyesr closed 3 years ago

jreyesr commented 3 years ago

Related to https://github.com/IS-AgroSmart/AgroSmart-Web/issues/114, there is a hard limit on the number of images that a user can submit per month. Otherwise, a user could submit unlimited tasks to NodeODM Lightning and (since we pay NodeODM Lightning per image) cost us more money than his monthly payment.

Backend

Frontend

On the frontend, we should add some client-side validation on the number of files selected, since there's no native way to do it :(