- 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.
14 lines
394 B
TypeScript
14 lines
394 B
TypeScript
import { defineConfig } from 'drizzle-kit';
|
|
|
|
export default defineConfig({
|
|
schema: './src/lib/schema.ts',
|
|
dialect: 'mysql',
|
|
dbCredentials: {
|
|
host: process.env.MYSQL_HOST || 'localhost',
|
|
port: Number(process.env.MYSQL_PORT) || 3306,
|
|
user: process.env.MYSQL_USER || 'emly',
|
|
password: process.env.MYSQL_PASSWORD || '',
|
|
database: process.env.MYSQL_DATABASE || 'emly_bugreports'
|
|
}
|
|
});
|