--- tags: UniCourse --- # 後端會議 01/30 ## 目標 - 決定要用什麼寫 - 針對 API spec 的意見 ## API ### Auth - 搜尋 (Post, Course) 的 `q` 參數定義?要支援哪些 filter? - `/auth/register` - `std_id` 是學號? - API 好像沒列出 200 以外的 reponse - `/auth/register` - 當 username 和 stu_id 和 gmail 重複、密碼強度不夠時(4XX - `/auth/reset` - email 不存在(4xx) - `/auth/reset_verify` -> `/auth/reset-verify` ### Account - 是否需要 uid - 更新資料與重設密碼分開 - 可能不需要重設 email、std_id - std_id, badges 不在 MVP - `perm` 和 `err` 需要 `perm_id` 和 `err_id` 比較容易建立 table ### Profile ### Course - `GET/courses` - sort - sort direction ### Fourm - `GET /posts/search` -> `GET /posts` - `POST /posts/new` -> `POST /posts` - `POST /comments/new` -> `POST /comments` - 最新貼文 - 最新的 10 則 - `GET /posts` - sort - rating (1 ~ 5) ## 套件 - python (flask) - **nodejs (express)** :star: - php (laravel) ## 之後要做的事 - 2/1 分工 - Bogay 開 GitHub team - Bogay 後天或大後天會生架構(?