Build an Admin for Novaconium #5

Open
opened 2025-06-07 02:30:13 +00:00 by nick · 0 comments
Owner

Create an admin page for the PHP framework that serves as a lightweight CMS-style dashboard and provides critical environment diagnostics. The initial version should focus on verifying database connectivity and setup status, along with providing a centralized entry point for future admin features.

Goals:

  • Display a dashboard accessible at /admin or similar route.
  • Perform a check to confirm that the database connection is working.
  • Report on the status of required tables or migrations.
  • Lay the groundwork for a broader admin/CMS interface.

Core Features:

Database Status Check:

  • Attempts to connect to the database using existing config.
  • Displays connection status (success/failure).
  • Optionally checks for presence of required tables or schema versions.

Admin Dashboard:

  • Simple HTML interface styled with base framework CSS.
  • Show basic environment info (PHP version, app version, DB driver, etc.).
  • Placeholder sections for future widgets/tools (e.g., user management, logs, settings).

Future Enhancements (Not part of MVP):

  • Authentication for admin access.
  • Real-time log viewer or recent activity feed.
  • SQL runner (possibly linked to the .sql file feature).
  • Plugin or module manager if the framework expands.

Technical Notes:

  • Should be built with the framework’s routing and templating system.
  • Should fail gracefully if the database is not configured yet.
  • Include minimal CSS for clean layout without third-party dependencies.
Create an admin page for the PHP framework that serves as a lightweight CMS-style dashboard and provides critical environment diagnostics. The initial version should focus on verifying database connectivity and setup status, along with providing a centralized entry point for future admin features. ## Goals: - Display a dashboard accessible at /admin or similar route. - Perform a check to confirm that the database connection is working. - Report on the status of required tables or migrations. - Lay the groundwork for a broader admin/CMS interface. ## Core Features: ### Database Status Check: - Attempts to connect to the database using existing config. - Displays connection status (success/failure). - Optionally checks for presence of required tables or schema versions. ### Admin Dashboard: - Simple HTML interface styled with base framework CSS. - Show basic environment info (PHP version, app version, DB driver, etc.). - Placeholder sections for future widgets/tools (e.g., user management, logs, settings). ## Future Enhancements (Not part of MVP): - Authentication for admin access. - Real-time log viewer or recent activity feed. - SQL runner (possibly linked to the .sql file feature). - Plugin or module manager if the framework expands. ## Technical Notes: - Should be built with the framework’s routing and templating system. - Should fail gracefully if the database is not configured yet. - Include minimal CSS for clean layout without third-party dependencies.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: 4lt/novaconium#5
No description provided.