How muetze42/laravel-nova-demo-app works
Project type and purpose
• This is a monolithic full-stack Laravel web application with an integrated Laravel Nova admin panel (“Laravel Nova Demo App”).
• Its primary goal is to demonstrate how to add “packages” (each consisting of a Model, Migration, Nova Resource, optional Factory/Seeder) into a Nova-driven admin UI.
File structure
• Top-level “app/” holds the core MVC code:
• app/Http/Controllers → HTTP entry points
• app/Models → Eloquent models
• app/Nova → Nova resources, dashboards, actions, perspectives
• app/Console/Commands → custom artisan commands (including Nova installers)
• “routes/” defines API and web routes.
• “resources/” contains frontend assets (CSS/JS built via Vite) and Blade views (error/illustrated layouts).
• “public/” is the webserver’s document root (index.php bootstraps Laravel).
• “database/” holds migrations, seeders, factories. “deploy.sh” automates migrate+seed.
• “config/” has Laravel and Nova configuration.
• “bootstrap/” and “artisan” support framework bootstrapping and CLI.
README for additional insights
• Emphasizes using a dedicated development branch.
• Workflow: create Model+Migration+Nova Resource (+ optional Factory/Seeder), register seeder in DatabaseSeeder, add resource to Nova menu via NovaServiceProvider, run php artisan migrate --seed and php artisan helper.