feat: initialize dashboard with bug reporting system

- Add Tailwind CSS for styling and custom theme variables.
- Create HTML structure for the dashboard with dark mode support.
- Implement database schema for bug reports and associated files using Drizzle ORM.
- Set up database connection with MySQL and environment variables.
- Create utility functions for class names, byte formatting, and date formatting.
- Develop error handling page for the dashboard.
- Implement layout and routing for the dashboard, including pagination and filtering for bug reports.
- Create API endpoints for downloading reports and files.
- Add functionality for viewing, updating, and deleting bug reports.
- Set up Docker configuration for the dashboard service.
- Include TypeScript configuration and Vite setup for the project.
This commit is contained in:
Flavio Fois
2026-02-14 21:35:27 +01:00
parent d510c24b69
commit c6c27f2f30
25 changed files with 1096 additions and 0 deletions

View File

@@ -36,5 +36,19 @@ services:
mysql:
condition: service_healthy
dashboard:
build: ../dashboard
ports:
- "${DASHBOARD_PORT:-3001}:3000"
environment:
MYSQL_HOST: mysql
MYSQL_PORT: 3306
MYSQL_USER: ${MYSQL_USER:-emly}
MYSQL_PASSWORD: ${MYSQL_PASSWORD}
MYSQL_DATABASE: ${MYSQL_DATABASE:-emly_bugreports}
depends_on:
mysql:
condition: service_healthy
volumes:
mysql_data: