Skip to content

Conversation

@pandigresik
Copy link
Contributor

Deskripsi

Buat file mengikuti issue

  • Buat terlebih dahulu config/theme-api.php gunanya untuk seperti "Dashboard Pengaturan" untuk API

    • Cache aktif? Ya/Tidak
    • Cache berapa lama? 1 jam
    • Rate limit? 120 request/menit
    • Data apa yang boleh ditampilkan?
    • Tema aktif custom endpoint?
  • Buat Base Controller (app/Http/Controllers/Api/Frontend/BaseController.php)

  • Buat Middleware (app/Http/Middleware/ThemeApiMiddleware.php)

  • Register Middleware (app/Http/Kernel.php)

  • Setup Routes (routes/api-frontend.php)

Masalah Terkait (Related Issue)

Langkah untuk mereproduksi (Steps to Reproduce)

Daftar Periksa (Checklist)

Tangkapan Layar (Screenshot)

@pandigresik
Copy link
Contributor Author

Sudah masuk dalam PR #1368

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants