# Badge.g0v.tw 開發問題彙整 ## 目前問題 * Slack 認證登入目前沒辦法使用 ## Laravel整合 * 目前套用的css模板@mui([material UI](https://mui.com/material-ui/getting-started/installation/))要整合到部署環境(package.json?) * resources or public裡面建立js的資料夾,直接下載下來存進去 * Main munu & side menu寫成section在master.blade裏面,之後extend到其他所有子頁面即可 * * homepage的最新使用者:串接資料庫找到最新加入的10個人profile(資料庫內部有加入時間的欄位嗎) * id流水號(越大的越新) * 個人User_profile:一樣重新建立view layout後用controller把資料庫串接回去(邏輯層有需要另外寫model嗎?) ### 需要的API * USER table <-> USER dashboard * USER table <-> Homepage recent registered users #### 登入相關 * GET /api/me 回傳現在登入的身份是誰 * Ex: {"login": true, "name": "Ronny"} or {"login":false} * /_/user/slacklogin Slack 登入 * 登入成功後會轉到 next 網址 * /_/user/googlelogin > [name=tkirby] 需注意 CORS Policy 設定避免第三方存取(https://www.stackhawk.com/blog/laravel-cors/) * re ### 新手引導任務 https://introjs.com