LuluFJ.Ho 409ff44721 20220920 fix 後台匯出功能 il y a 2 ans
app 20220920 fix 後台匯出功能 il y a 2 ans
bootstrap 20220830 調整 bootatrap/app.php il y a 2 ans
config 20220831 fix insert data function il y a 2 ans
database Update FunsAndMenusSeeder.php il y a 2 ans
public 20220901 更新 custom.js il y a 2 ans
resources 20220920 fix 後台匯出功能 il y a 2 ans
routes 20220914 新增議程可報名人數 il y a 2 ans
storage first commit il y a 2 ans
tests first commit il y a 2 ans
.editorconfig first commit il y a 2 ans
.env.example Update .env.example il y a 2 ans
.gitattributes first commit il y a 2 ans
.gitignore first commit il y a 2 ans
.styleci.yml first commit il y a 2 ans
README.md Update README.md il y a 2 ans
artisan first commit il y a 2 ans
composer.json 20220913 後台功能更新 il y a 2 ans
composer.lock 20220913 後台功能更新 il y a 2 ans
package.json first commit il y a 2 ans
phpunit.xml first commit il y a 2 ans
server.php first commit il y a 2 ans
webpack.mix.js first commit il y a 2 ans

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

    • 後台權限相關資料庫 & 資料建立
    • 查閱後台登入帳密 ⇒ database\seeders\UserSeeder.php

撰寫時注意

  1. API 寫在「routes\api.php」
  2. API 統一回傳格式:「app\Http\Controllers\Api\ApiController.php」
  3. API Exceptions 統一回傳格式:「app\Exceptions\Handler.php」
  4. Validation 使用 Form Request Validation
  5. 基本的後台相關資料已建立,可以直接登入
    • 權限資料(Database、Migration、Seeder)
    • 後台畫面(View、View Composer、CSS、jQuery)
    • 後端資料(Route、Controller、Model)