empowerchain / deposit-app

Apache License 2.0
0 stars 1 forks source link

Add accumulated deposit on the history page #40

Closed inesempower closed 1 year ago

inesempower commented 2 years ago

Depends on:

Untitled-2022-08-11-1111 For project purposes, because some organizations won't reward users with vouchers but by attendance where in the deposit 1kg = 1 presence. The aggregated value of all attendances should be shown to users like the picture above.

gfant commented 2 years ago

@bjaanes for the first part we stated I just count the number of vouchers obtained, but is there any way to calculate how much plastic has been collected from the backend for the second part? Should I start getting involved with the deposit-backend repo?

gjermundgaraba commented 2 years ago

@iam-agf Yeah, that we need a backend API to be able to do. I don't remember if I created any task for this already, but we can create a simple API that just returns some basic stats

Task is this: https://github.com/empowerchain/deposit-backend/issues/17