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:
- [email protected] - pass
- [email protected] - pass
- [email protected] - 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:
- [email protected] ( acts as administrator )
- have all permissions
- [email protected] ( acts as operator )
- viewAny product
- view product
- create product
- edit own product
- delete own product
- [email protected] ( 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.