2 entries on the web app: customers and suppliers
Customers register and give access to their GoogleFit account (API required). Based on the number of points they have accumulated from their daily activity, they can:
- buy reductions from partners
- view their activity history (from google fit)
- view their points history (points gained and points used to get reductions)
Suppliers set the criteria of points gained based on the activity of customers (for eg, 5000-10000 steps accomplished per day = 5 points). Each customer is linked to a supplier, and suppliers have lots of customers.
Suppliers also have access to a dashboard where they can view the total number of points spent over a selected timeframe.
The reductions from partners are entered by the admin for now.