Spaces:
Running
Running
Ctrl+K

Build a full-featured web dashboard application for managing a Telegram bot and server monitoring with the following features: 1. User Authentication: - Secure login page with username and password. - Passwords must be hashed and stored securely. - Support multiple user roles: Admin, User, Guest. - Role-based access control to restrict features per role. - Session management with auto-logout after inactivity. - Optionally add Two-Factor Authentication (2FA). 2. Dashboard Features: - Real-time server status overview (nginx, docker, etc.). - Display recent bot activity logs and alerts. - Ability to send commands to the Telegram bot from the dashboard. - Manage server services: restart, stop, start via UI. - Schedule and view periodic reports. - Manage authorized users: add, edit, remove users and assign roles. 3. Integration & Security: - REST API backend to interact with Telegram bot and server. - Secure API endpoints with token-based authentication. - Use HTTPS and secure cookies for web sessions. - Proper error handling and user feedback on UI. - Responsive and accessible UI design. 4. Technical Requirements: - Use modern web framework suitable for DeepSite generation (React, Vue, or similar). - Include database schema for user management (SQLite or PostgreSQL). - Provide sample API endpoints for bot communication. - Include frontend forms for login, user management, server control. - Implement websocket or polling for live server status updates. Write clean, modular, and documented code snippets for frontend, backend, and database setup. Include instructions on environment setup, dependencies, and deployment steps. --- Create the code files and folder structure required for this project with all necessary components for full operation. - Initial Deployment
b1355f8
verified