Skip to content

silverqx/laravel-stock

Repository files navigation

Laravel Stock

Laravel Stock

Heroku

This is my Laravel Stock test application.

Application is deployed at https://cs-laravel-stock.herokuapp.com.

Installation

  • 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 or npm run watch

Authentication

Application contains three users, these are their login data:

Authorization

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:

Others

Uploaded image can be of any dimensions, it will be always cropped properly and the aspect ratio will be preserved.