hikaru-fujimoto / TaskMap

0 stars 0 forks source link

REST APIの仕様 #1

Open hikaru-fujimoto opened 1 month ago

hikaru-fujimoto commented 1 month ago

Spring Bootを使います。

hikaru-fujimoto commented 1 month ago

必要項目 ・登録 ・削除 ・変更 ・ソート=>絞り込み後のタスクリスト

hikaru-fujimoto commented 1 month ago

上記の上三つは絞り込まなかったタスクリストを返却したほうが設計が楽そう

hikaru-fujimoto commented 1 month ago

作成クラス ・RestController ・API Data(@ Data)

DB関連 ・TaskRepository

hikaru-fujimoto commented 1 month ago

基本POSTでパラメータを与えた方がよさそう サブディレクトリ案 登録:/register 削除:/delete 変更:/change 絞り込み:/filter

hikaru-fujimoto commented 1 month ago

/register post param { title : String startDate : LocalDateTime endDate :LocalDateTime tags : List place : String (or double, double(lng, lat)) description : String }

retrun { tasks: List }