## Description Backend should calculate monthly performance metrics for each habit, such as completion rate and streaks. ## Acceptance Criteria - [ ] Monthly statistics API endpoint exists. - [ ] Metrics include completion rate and longest streak. - [ ] Calculations are accurate and tested. - [ ] API returns data in a clean JSON structure.
Description
Backend should calculate monthly performance metrics for each habit, such as completion rate and streaks.
Acceptance Criteria