A simple internet shop.
Based on Laravel 12
- php >= 8.2
- MySQL >= 8.0.13 | MariaDB >= 10.2.1
- composer 2
- NodeJs
-
Clone project.
SSH SOURCE: git@github.com:itstructure/laravel-microshop.gitHTTPS SOURCE: https://github.com/itstructure/laravel-microshop.git -
Install dependencies by running from the project root
composer install -
Copy and rename file
.env.exampleto.env. -
Generate
APP_KEYin.envfile, run:php artisan key:generate -
Set a database connect options in
.envfile. -
Run migrations:
php artisan migrate -
Run seeders:
php artisan db:seed -
Run command:
npm install -
Run command:
npm run build -
Register in a system.
-
Config according with the point 2 in Laravel RBAC package
-
Run RBAC seeders:
php artisan rbac:database --only=seed -
Run admin setting for RBAC:
php artisan rbac:admin -
Go to
/adminand manage content
You can:
- Manage users with setting roles and permissions.
- Manage product categories.
- Manage products.
- See new orders.