This is my Laravel Stock test application.
Application is deployed at https://cs-laravel-stock.herokuapp.com.
git clone https://github.com/silverqx/laravel-stock
cd laravel-stock
- rename
env.example
na.env
and fill out correct data composer install
php artisan key:generate
to generate new Security Key ( optional )npm install
npm run dev
ornpm run watch
Application contains three users, these are their login data:
- silver.zachara@gmail.com - pass
- peter@example.com - pass
- andrej@example.com - pass
Application contains these permissions:
- viewAny product
- view product
- create product
- edit own product
- edit any product
- delete own product
- delete any product
- manage users
The permissions are assigned to users as follow:
- silver.zachara@gmail.com ( acts as administrator )
- have all permissions
- peter@example.com ( acts as operator )
- viewAny product
- view product
- create product
- edit own product
- delete own product
- andrej@example.com ( acts as client )
- viewAny product
- view product
Uploaded image can be of any dimensions, it will be always cropped properly and the aspect ratio will be preserved.