5 Commits

Author SHA1 Message Date
Primakov Alexandr Alexandrovich
34e994478e Add summary statistics endpoint and UI integration
- Introduced a new API endpoint `GET /stats/summary` to retrieve detailed smoking statistics for users, including daily and global averages.
- Updated the API client to support fetching summary statistics.
- Enhanced the statistics page with a new tab for summary statistics, featuring key metrics and visualizations for user comparison.
- Implemented error handling and loading states for the summary statistics fetch operation.
- Refactored the statistics page to separate daily and summary statistics into distinct components for improved organization and readability.
2025-11-17 14:30:40 +03:00
Primakov Alexandr Alexandrovich
71ee0c1c0e Enhance UI feedback and responsiveness across authentication and tracking pages
- Updated button text to reflect loading states in SignIn, SignUp, and Tracker pages.
- Adjusted padding and heading sizes for better responsiveness in Main, Stats, and Tracker pages.
- Improved layout consistency by modifying padding properties in Card components.
2025-11-17 14:10:18 +03:00
Primakov Alexandr Alexandrovich
9b224ef4b7 Add README.md for Smoke Tracker application
- Introduced comprehensive documentation for the Smoke Tracker web application.
- Included project description, features, technologies used, and setup instructions.
- Detailed API endpoints and local development configuration.
- Provided UI/UX design guidelines and development notes for future enhancements.
2025-11-17 13:55:55 +03:00
Primakov Alexandr Alexandrovich
debd28905a Add authentication and tracking features with API integration
- Implemented user authentication with signup and signin functionality.
- Created a context for managing authentication state.
- Added protected routes for accessing the dashboard and tracker pages.
- Developed a tracker page for logging cigarette usage with optional notes and timestamps.
- Introduced a statistics page to visualize daily smoking habits using charts.
- Integrated Axios for API requests and error handling.
- Updated package dependencies including React Hook Form and Zod for form validation.
- Enhanced UI components for better user experience with Chakra UI.
- Added routing for authentication and tracking pages.
2025-11-17 13:53:25 +03:00
Primakov Alexandr Alexandrovich
c3eab8bcac init 2025-11-17 13:31:58 +03:00