Dev UI
Jazzy includes a powerful, built-in developer console accessible at /dev-ui. It provides real-time insights into your application’s state, environment, and data.
Features
Section titled “Features”1. Dashboard
Section titled “1. Dashboard”Get a high-level overview of your application, including total routes, environment variables, and database status.
2. Route Inspector
Section titled “2. Route Inspector”View all registered routes, HTTP methods, and their associated middleware stacks. This is extremely useful for debugging complex routing logic.
3. Environment Viewer
Section titled “3. Environment Viewer”Inspect your current .env configuration and environment variables securely (only available in development mode).
4. Database Explorer
Section titled “4. Database Explorer”A full-featured SQL client built into your browser:
- Table Browser: List SQLite tables and row counts.
- Schema Viewer: View SQLite column definitions, types, and constraints.
- SQL Console: Execute raw SQL queries and see real-time results.
- Insert Generator: Automatically generate
INSERTtemplates for any table.
The query builder supports SQLite and PostgreSQL. The Dev UI’s table browser and schema viewer currently use SQLite metadata and will gain PostgreSQL metadata support in a later release.
5. Cache Management
Section titled “5. Cache Management”View all active keys in AppCache and clear them with a single click.
Security
Section titled “Security”The Dev UI is designed exclusively for local development. It can inspect application data and execute SQL, so it is explicit opt-in rather than an automatic development feature.
- Disabled by default: The route is not registered until both settings below are present.
- Never available in production: If
APP_ENVis anything other thandevelopment, the/dev-uiroute is not registered even ifDEV_UI_ENABLED=true.
APP_ENV=developmentDEV_UI_ENABLED=trueDo not set DEV_UI_ENABLED=true in a public deployment.
Accessing
Section titled “Accessing”Once your application is running, navigate to:
http://localhost:8080/dev-ui