Funcy-ICT / Funcy-ICT/Funcy_Portfolio_Backend

[feat] グループを取得するGETエンドポイント

Open
#142 2 comments 0 reactions 1 assignee Claimed by @marshmallow0706 View on GitHub
enhancement
Dominant language
Go
Stars
1
Forks
0
PR merge metrics
No merged PRs in 30d

Description

## 機能概要
- 特定のgroup idのグループ情報を取得するエンドポイントの作成
## Taskリスト
- グループのGETメソッド作成
- `groups`,`groups_member`,`group_skill`テーブルの任意の`id`に該当するレコードをDBから取得してレスポンスを返せるようにする
## Doneの定義
- GET /groupを叩いて,
## 参考リンク
-
## 留意事項
- エンドポイントは`/group/{groupID}`
## 検討事項
- DBからデータを取得する際にエラーメッセージがそのままクライアントに露出しないようにする

### ステップ
- [x] 1. `groups`, `groups_member`, `groups_skill`にテストデータを用意する
- [ ] 2. GETで`/groups`を叩いたら,作ったテストデータをarrayで全て返すレスポンスを作成する
- [ ] 3. 任意のIDに紐づいたデータを`groups`, `groups_member`, `groups_skill`から取得できるようにする
- [ ] 4. リクエストのエンドポイントを解析してリクエスト`/groups/{workID}`で指定されたworkIDのデータをレスポンスとして返せるようにする

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.