A simple internet shop.
Based on Laravel 10
- php >= 8.1
- MySQL >= 8.0.13 | MariaDB >= 10.2.1
- composer
- NodeJs
-
Clone project.
SSH SOURCE: git@github.com:itstructure/laravel-microshop-simple.git
HTTPS SOURCE: https://github.com/itstructure/laravel-microshop-simple.git
-
Install dependencies by running from the project root
composer install
-
Copy and rename file
.env.example
to.env
. -
Generate
APP_KEY
in.env
file, run:php artisan key:generate
-
Set a database connect options in
.env
file. -
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
/admin
and manage content
You can:
- Manage users with setting roles and permissions.
- Manage product categories.
- Manage products.
- See new orders.