Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/silverqx/laravel-stock

Laravel Stock test application
https://github.com/silverqx/laravel-stock

heroku laravel laravel-stock testapp

Last synced: 2 days ago
JSON representation

Laravel Stock test application

Awesome Lists containing this project

README

        



Laravel Stock



Laravel Stock

[![Heroku](http://heroku-badge.herokuapp.com/?app=angularjs-crypto&style=flat&svg=1)](https://cs-laravel-stock.herokuapp.com)

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:

* [email protected] - pass
* [email protected] - pass
* [email protected] - pass

## 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:

* [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

### Others

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