Yong ec78e147c5 Update api.php 2 gadus atpakaļ
app Handler.php add http status code in comment 2 gadus atpakaļ
bootstrap first commit 2 gadus atpakaļ
config add ComposerServiceProvider.php for view 2 gadus atpakaļ
database Update FunsAndMenusSeeder.php 2 gadus atpakaļ
public add assets for auth layout 2 gadus atpakaļ
resources add auth view & shareToFacebook view 2 gadus atpakaļ
routes Update api.php 2 gadus atpakaļ
storage first commit 2 gadus atpakaļ
tests first commit 2 gadus atpakaļ
.editorconfig first commit 2 gadus atpakaļ
.env.example Update .env.example 2 gadus atpakaļ
.gitattributes first commit 2 gadus atpakaļ
.gitignore first commit 2 gadus atpakaļ
.styleci.yml first commit 2 gadus atpakaļ
README.md Update README.md 2 gadus atpakaļ
artisan first commit 2 gadus atpakaļ
composer.json add package [ league/flysystem-aws-s3-v3 ] 2 gadus atpakaļ
composer.lock add package [ league/flysystem-aws-s3-v3 ] 2 gadus atpakaļ
package.json first commit 2 gadus atpakaļ
phpunit.xml first commit 2 gadus atpakaļ
server.php first commit 2 gadus atpakaļ
webpack.mix.js first commit 2 gadus atpakaļ

README.md

clone 後設定流程


  1. cp .env.example .env
    • 設定 DB env
    • (optional) 設定 AWS env
  2. php artisan key:generate
  3. composer install

    • 安裝已預設 packages:

      name version
      league/flysystem-aws-s3-v3 ^1.0
  4. php artisan migrate --seed

    • 主要為後台權限相關資料庫&資料建立

新增的檔案


Models

  • 後台權限 Models:

    Dir File
    app\Models Functions.php
    FunMenu.php
    FunMenuDetail.php
    FunUserGroups.php
    User.php

Controllers

  • 後台權限 Controllers:
    • app\Http\Controllers\Backend\AuthController.php