this is a admin full panel demo, for a complete blog and shop for any ecommerce. it's provide by Filament, Laravel and some spatie packages.
A demo application to illustrate how Filament Admin works.
Clone the repo locally:
https://github.com/SethiosAcademie/admin-filament-shop-blog-demo.git SethiosFilament-demo && cd SethiosFilament-demo
Install PHP dependencies:
composer install
Setup configuration:
cp .env.example .env
Generate application key:
php artisan key:generate
Create an SQLite database. You can also use another database (MySQL, Postgres), simply update your configuration accordingly.
touch database/database.sqlite
For Mysql, Go and change some Variable in env file:
DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=your_data_base_name
DB_USERNAME=your_user_name
DB_PASSWORD=your_password
Run database migrations:
php artisan migrate
Run database seeder:
php artisan db:seed
Note
If you get an "Invalid datetime format (1292)" error, this is probably related to the timezone setting of your database.
Please see https://dba.stackexchange.com/questions/234270/incorrect-datetime-value-mysql
Create a symlink to the storage:
php artisan storage:link
Run the dev server (the output will give the address):
php artisan serve
You're ready to go! Visit the url in your browser, and login with:
- Username: admin@filamentphp.com
- Password: password
- ProductResource
- OrderResource
- PostResource
- CategoryResource\RelationManagers\ProductsRelationManager
- OrderResource\RelationManagers\PaymentsRelationManager
- CustomerResource\RelationManagers\PaymentsRelationManager
- OrderResource -> Address
- ProductResource\RelationManagers\CommentsRelationManager
- PostResource\RelationManagers\CommentsRelationManager
- BrandResource\RelationManagers\AddressRelationManager
- CustomerResource\RelationManagers\AddressRelationManager