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

https://github.com/modulr/laravel-scaffold

The base for developing awesome projects
https://github.com/modulr/laravel-scaffold

authentication avatar boilerplate bootstrap4 coreui demo fortawesome laravel laravel-scaffold laravel57 scaffold simiple-line-icons starter-kit tutorial vuejs

Last synced: 3 months ago
JSON representation

The base for developing awesome projects

Awesome Lists containing this project

README

          

# Laravel Scaffold

### The base for developing awesome projects

Laravel Scaffold is a free, Open Source Starter kit/Scaffold/Boilerplate a fasted way of building your custom and modular Laravel application that grows with you.
Created with Laravel 5.7 and VueJS.

See the [documentation](http://laravel-scaffold-docs.modulr.io) for more details or you can also try our live [demo](http://laravel-scaffold.modulr.io).

### Table of Contents

- [Features](#features)
- [Tutorials](#tutorials)
- [Installation](#installation)
- [Modules](#modules)
- Auth
- Users
- Roles & Permissions
- Profile

![Laravel Scaffold](https://laravel-scaffold-docs.modulr.io/_media/laravel-scaffold.jpg)

## Features

- [Laravel Authentication](https://laravel.com/docs/5.7/authentication) Auth
- [laravel-permission](https://github.com/spatie/laravel-permission) Roles & Permissions
- [Laravel Frontend](https://laravel.com/docs/5.7/frontend)
- [Bootstrap 4](https://getbootstrap.com/)
- [Core UI](https://coreui.io/) Template
- Icons
- [Fontawesome 5](https://fontawesome.com/)
- [Simple Line Icons](https://github.com/thesabbir/simple-line-icons)
- [SW Precache Webpack Plugin](https://github.com/goldhand/sw-precache-webpack-plugin) Progressive Web App (PWA)
- [Vue Clip](https://vueclip.adonisjs.com/) Upload files
- [Intervention Image](http://image.intervention.io/) Crop and resize images
- [Laravolt Avatar](https://github.com/laravolt/avatar) Create default avatar
- [Vue-multiselect](https://vue-multiselect.js.org/) Fancy multiselect
- [Sweat Alert](https://sweetalert.js.org/) Alerts
- [Vue Toasted](https://shakee93.github.io/vue-toasted/) Notifications
- [vue-moment](https://github.com/brockpetrie/vue-moment#readme) Friendly date format
- [vue-content-placeholders](https://github.com/michalsnik/vue-content-placeholders) Rendering fake progressive content
- Table
- Serverside rendering
- Pagination
- Sort
- Search

## Tutorials

#### How to created Laravel Scaffold

- Authentication [link](https://link.medium.com/YsYZ4TJ1wR)
- Add CoreUI Template [link](https://link.medium.com/mlq1D5N1wR)
- Create Profile module [link](https://link.medium.com/e8EbuVR1wR)
- Create Users module -> _comig soon..._
- Create Roles module -> _coming soon..._

## Installation

#### Requirements

https://laravel.com/docs/5.7#server-requirements

#### Clone Repo

```
git clone https://github.com/modulr/laravel-scaffold.git
```

Enter folder
```
cd laravel-scaffold
```

Install Depencencies
```
composer install
npm install
```

#### Configuration

Generate .env file
```
cp .env.example .env
```

Generate APP_KEY
```
php artisan key:generate
```

Generate symbolic link to Storage
```
php artisan storage:link
```

If you are in production
```
sudo chown -R www-data:www-data storage
```

Database

```
# Create Data Base
mysql -u{user} -p{password}
mysql> create database laravel_scaffold;
```

```
# Add params into .env file
DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=laravel_scaffold
DB_USERNAME=user
DB_PASSWORD=password
```

#### Run

```
# Migrations
php artisan migrate

# Seeder (optional)
php artisan db:seed

# Compiling assets
npm run dev

# Run serve
php artisan serve

or to developer mode
npm run dev || npm run watch
```

## Modules

- Auth
- Login
- Register - generate avatar
- Remember Password

- Profile
- Edit Name, email - generate and reset avatar
- Change password
- Edit Avatar upload jpg/png images

- Users
- List users
- Create user
- Update users
- Delete users

- Roles & Permission
- List roles
- Create roles and assign permissions
- Update role and permissions
- Users list who use the role
- Delete role

## License

The MIT© License 2018 - Modulr.

---

> Developed with :bulb: :headphones: :beer: by [@alfredobarron](https://github.com/alfredobarron)