Skip to content

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.

License

Notifications You must be signed in to change notification settings

SethiosAcademie/admin-filament-shop-blog-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

admin-filament-shop-blog-demo

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.

Filament Demo

Installation

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:

Features to explore

Relations

BelongsTo

  • ProductResource
  • OrderResource
  • PostResource

BelongsToMany

  • CategoryResource\RelationManagers\ProductsRelationManager

HasMany

  • OrderResource\RelationManagers\PaymentsRelationManager

HasManyThrough

  • CustomerResource\RelationManagers\PaymentsRelationManager

MorphOne

  • OrderResource -> Address

MorphMany

  • ProductResource\RelationManagers\CommentsRelationManager
  • PostResource\RelationManagers\CommentsRelationManager

MorphToMany

  • BrandResource\RelationManagers\AddressRelationManager
  • CustomerResource\RelationManagers\AddressRelationManager

About

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.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published