FreshBox Using Laravel 6 And Vue Js
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.
URL: https://freshbox.tetambastudio.com
- Email: admin@example.com
- Password: 1234
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.
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.