HEALTH PLATFORM
We want to build a generic cloud based platform to record various health metric of a given user. It has two main consumers.
- User
- Different Devices.
Build an application that exposes following features to other applications
- API to register user.
- API to register a device to a user.
- API to push metric. Sample metrics should be (height, weight, heart-rate, calorie, calorie-burn). The type of metrics supported are predefined and new type of metrics can be added.
- API to get all data points of a metric for a user across different devices in a given duration.
- API to get an appropriate aggregate (max, min, average etc) in a time range for a metric across different devices for a given user.
- User Interface, to do the following
- Ability for a user to login. Just username is enough. No need to worry about authentication.
- Pull up user’s data in following cuts
- Daily metric average for all metrics.
- Weekly metric for all metrics.
- Screen showing all devices that have been registered against the user.