Base application for Laravel 5.1 with User Roles
PHP JavaScript Other
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
app
bootstrap
config
database
public
resources
storage
tests
.env.example
.gitattributes
.gitignore
artisan
bower.json
composer.json
composer.lock
gulpfile.js
package.json
phpspec.yml
phpunit.xml
readme.md
server.php

readme.md

My Base Application for Laravel 5.1 with User roles

This base application will be a starting point in creating a web app from scratch but fully loaded with User Authentication and Authorization (roles). The package used for authorization on this project is not yet compatible with 5.2.*.

Requirements:

How to install

  • Clone this project. git clone git@github.com:jsdecena/baseapp.git
  • Run composer install
  • Copy .env.example and save as .env on the same directory
  • Run php artisan key:generate
  • [IMPORTANT] Create you local DB and change the database settings in the .env with your database settings
  • Run php artisan migrate --seed
  • Run npm install
  • Run php artisan serve and go to localhost:8000

Admin credentials:

Employee credentials:

API calls: Now protected by JWT Authentication

Todo:

  • Thinking of using soft delete instead to prevent orphaned records