@@ -7,7 +7,11 @@ This repository contains an **advanced Flask application** demonstrating product
77- ** 🐳 Docker** containerization with Gunicorn
88- ** 📅 Interactive Calendar** system
99- ** ✓ Task Manager** with priority levels
10- - ** 🎨 Bootstrap 5** responsive UI
10+ - ** � Gamification** with points, badges, and leaderboards
11+ - ** 🎯 Mini-games** - Riddle solver and Math challenges
12+ - ** 💻 System Monitor** - Real-time Windows/Linux performance tracking
13+ - ** 🌙 Dark Mode** - User-preferred theme support
14+ - ** 🎨 Bootstrap 5** responsive UI with animations
1115- ** 🧪 Comprehensive Tests** with pytest
1216- ** 🔄 CI/CD Pipeline** with GitHub Actions
1317- ** 📊 Multi-page Application** with Jinja2 templates
@@ -57,14 +61,24 @@ docker compose up --build
5761
5862### 🏠 Web Pages
5963- ** Home** - Overview of features and quick links
60- - ** 📅 Calendar** - Interactive monthly event calendar
61- - ** ✓ Tasks** - Task management with priorities and completion tracking
64+ - ** 📅 Calendar** - Interactive monthly event calendar with task addition
65+ - ** ✓ Tasks** - Task management with priorities, due dates, and completion tracking
66+ - ** 🎮 Arcade** - Interactive games (riddles, math challenges, color matching)
67+ - ** 👤 Profile** - User profile with gamification stats
68+ - ** 🏆 Leaderboard** - Competitive ranking system
69+ - ** 💻 System Monitor** - Real-time system performance dashboard
6270- ** About** - Project information and technologies
6371- ** Contact** - Next steps and suggestions
6472
6573### 🔌 API Endpoints
6674- ` GET /health/ ` - Health check endpoint
6775- ` POST /api/v1/echo ` - Echo JSON messages
76+ - ` GET /api/v1/system/info ` - Complete system information (JSON)
77+ - ` GET /api/v1/system/cpu ` - CPU metrics and core usage
78+ - ` GET /api/v1/system/memory ` - RAM and swap memory details
79+ - ` GET /api/v1/system/disk ` - Disk partitions and usage
80+ - ` GET /api/v1/system/battery ` - Battery status and health
81+ - ` GET /api/v1/system/network ` - Network interfaces and I/O statistics
6882
6983### 🛠️ Advanced Features
7084- ** App Factory Pattern** - Flexible application initialization
@@ -74,6 +88,12 @@ docker compose up --build
7488- ** Form Handling** - Task creation and management
7589- ** Static Assets** - CSS and JavaScript support
7690- ** Responsive Design** - Mobile-friendly UI with Bootstrap 5
91+ - ** 📅 Calendar Task Addition** - Click dates to add tasks with due dates
92+ - ** 🎮 Gamification System** - Points, levels, badges, achievements, leaderboards
93+ - ** 🌙 Dark Mode Toggle** - Persistent user theme preference
94+ - ** 🎭 Easter Eggs** - Interactive hidden features (Konami code, etc.)
95+ - ** 💻 System Monitoring** - CPU, memory, disk, network, battery, and process tracking
96+ - ** 📊 Performance Metrics** - Top processes by CPU and memory usage
7797
7898---
7999
@@ -85,29 +105,40 @@ docker compose up --build
85105│ └── workflows/
86106│ └── ci.yml # GitHub Actions CI/CD
87107├── app/
88- │ ├── __init__.py # App factory
108+ │ ├── __init__.py # App factory with Jinja2 filters
89109│ ├── config.py # Configuration classes
90- │ ├── routes.py # Blueprint routes
110+ │ ├── routes.py # Blueprint routes (40+ endpoints)
91111│ ├── errors.py # Error handlers
92112│ ├── extensions.py # Flask extensions
93113│ ├── health.py # Health check blueprint
94114│ ├── calendar_manager.py # Calendar logic
95115│ ├── task_manager.py # Task management logic
116+ │ ├── gamification.py # Gamification system (points/badges/leaderboard)
117+ │ ├── minigames.py # Mini-games (riddles, math)
118+ │ ├── system_monitor.py # System monitoring (CPU/memory/disk/network/battery)
96119│ ├── static/
97120│ │ ├── css/
98- │ │ │ └── styles.css # Custom styles
121+ │ │ │ └── styles.css # Custom styles with dark mode
99122│ │ └── js/
100- │ │ └── app.js # Frontend JavaScript
123+ │ │ └── app.js # Frontend JS (dark mode, easter eggs)
101124│ └── templates/
102- │ ├── layout.html # Base template
125+ │ ├── layout.html # Base template with navbar
103126│ ├── home.html # Home page
104127│ ├── calendar.html # Calendar page
105128│ ├── tasks.html # Tasks page
129+ │ ├── profile.html # User profile page
130+ │ ├── leaderboard.html # Leaderboard page
131+ │ ├── games.html # Games menu page
132+ │ ├── riddle_game.html # Riddle game page
133+ │ ├── math_game.html # Math game page
134+ │ ├── system_monitor.html # System monitor dashboard
106135│ ├── about.html # About page
107136│ └── contact.html # Contact page
108137├── tests/
109- │ ├── test_api.py # API tests
110- │ └── test_pages.py # Page tests
138+ │ ├── conftest.py # Pytest configuration
139+ │ ├── test_api.py # API endpoint tests
140+ │ ├── test_pages.py # Page rendering tests
141+ │ └── test_system.py # System monitoring tests
111142├── docs/
112143│ ├── api.md # API documentation
113144│ ├── overview.md # Project overview
0 commit comments