transform admin panel with comprehensive professional UI

- migrate from SQLite to PostgreSQL with Drizzle ORM
- implement comprehensive AdminLayout with expandable sidebar navigation
- create professional dashboard with real-time charts and metrics
- add advanced monitoring, reporting, and export functionality
- fix menu alignment and remove non-existent pages
- eliminate duplicate headers and improve UI consistency
- add Tailwind CSS v3 for professional styling
- expand database schema from 6 to 15 tables
- implement role-based access control and API key management
- create comprehensive settings, monitoring, and system info pages
This commit is contained in:
2025-09-06 15:14:20 +02:00
parent 860070a302
commit 249a672cd7
36 changed files with 8212 additions and 1434 deletions

View File

@@ -42,6 +42,7 @@ export default async function handler(req: NextApiRequest, res: NextApiResponse)
.values({
keyHash: keyHash,
name: name,
ownerEmail: 'admin@hliadka.sk', // Default admin email
permissions: JSON.stringify(permissions),
rateLimit: rate_limit,
isActive: true