FreshBox

FreshBox Using Laravel 6 And Vue Js

Installation

Clone the repo:

git clone https://github.com/irvanfh27/FreshBox.git

Install composer packages:

composer update

Copy and rename .env.example to .env, update the environmental variables and set an app key:

php artisan key:generate

After that, run all migrations and seed the database:

php artisan migrate
php artisan db:seed

Or if your database is fresh and you haven't done any work yet, then it's safe to call the commands in a single line:

php artisan migrate:refresh --seed

Install Passport

php artisan passport:install

Note that seeding the database is compulsory as it will create the necessary roles and permissions for the user CRUD provided by the project.

Demo

URL: https://freshbox.tetambastudio.com

Demo Admin Login

P.S.: Password modification and user deletion is disabled in demo mode.

This project comes with a user CRUD and makes the use of Spatie Roles and Permissions at a very basic level in order to give restricted access to the three roles provided above. You can move forward with the same logic to achieve more complex goals.

Credits:

Contribution:

Contribution is welcomed and highly appreciated. Fork the repo, make your updates and initiate a pull request. I'll approve all pull requests as long as they are constructive and follow the Laravel standard practices.