Open renangton opened 2 years ago
ユーザーを検索する機能を実装すること。
クエリ文字列に指定したパラメータをもとに検索を行う。 例)localhost:8080/users?name=koyama&birthdate=2022-01-01
https://github.com/raisetech-for-student/banana-crud-restfulapi/tree/feature/get_user_search
バリデーションについては以下を実施。
レスポンスボディは以下とする。
[ { "id": "01FZMTP19VSKWBQPXJA4GKZ2Y3", "name": "小山太郎", "birthdate": "1990-01-01" }, { "id": "01FZMTQG90X9PX811WQW0JH9BT", "name": "小山次郎", "birthdate": "1992-01-01" } ]
ユーザーがHITしない場合、以下となる
[]
生年月日について
追加調査で https://developer.twitter.com/en/docs/twitter-api https://developers.facebook.com/docs/ https://docs.github.com/ja/rest
概要
ユーザーを検索する機能を実装すること。
目的
クエリ文字列に指定したパラメータをもとに検索を行う。
例)localhost:8080/users?name=koyama&birthdate=2022-01-01
ブランチ
https://github.com/raisetech-for-student/banana-crud-restfulapi/tree/feature/get_user_search
タスク
備考
バリデーションについては以下を実施。
レスポンスボディは以下とする。
ユーザーがHITしない場合、以下となる