Example Laravel 9 app
NOVA_LICENSE_KEY=xyzcomposer install./vendor/bin/sail up -dphp artisan key:generatephp artisan storage:link! Using database Artisan commands in the Laravel Docker Container !
php artisan migrate:fresh --seednpm inpm run buildcomposer install! Using database Artisan commands in the Laravel Docker Container !
php artisan migrateClear Browser Cache
- Admin Account:
[email protected] - Password for every seeded account:
password - Public Page: http://localhost (Get Server Error without run one time npm prod)
- Administration: http://localhost/admin
- API: http://localhost/api (Postman Collection: example-app.postman-collection.json)
- API Authentication is made possible with Laravel Sanctum
- Models
Article&Commentusing Soft Deleting - Model
Userhave a „One To Many“ relation toArticle&StoryModels - Model
Userhave a nullable „One To Many“ relation toCommentModel - Model
Commenthave a „One To Many (Polymorphic)“ relation toArticle&StoryModels - Models
Article&Storyhave tags by using Laravel-tags by Spatie - Model activities will be logged with Laravel-activitylog by Spatie
- Activity API index with filter options
- A small playground with roles and permissions. See RoleSeeder
- Seeder: Every user with a role and 50% of users without a role have an Avatar
- Fallback image for user Avatar
- Laravel Nova 4
- Inertia.js
- Laravel-tags by Spatie
- norman-huth/api-controller
- Laravel-activitylog by Spatie
- Laravel-medialibrary by Spatie
- Laravel-permission by Spatie
- dmitrybubyakin/nova-medialibrary-field (Nova Article)
- ebess/advanced-nova-media-library (Nova User)
For Frontend Assets: