forked from codesquad-members-2023/issue-tracker-max
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
…crud [FE] api 테스트 페이지 구현 및 토큰 검사 실패 기능 구현
- Loading branch information
Showing
4 changed files
with
78 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
import { css } from '@emotion/react'; | ||
|
||
export default function ApiTest() { | ||
const GetAssignee = () => {}; | ||
|
||
const on = () => {}; | ||
return ( | ||
<div css={test}> | ||
<button type="button" onClick={GetAssignee}> | ||
GET 담당자를 불러온다 | ||
</button> | ||
<button type="button" onClick={on}> | ||
GET 레이블을 불러온다 | ||
</button> | ||
<button type="button" onClick={on}> | ||
GET 마일스톤을 불러온다 | ||
</button> | ||
<button type="button" onClick={on}> | ||
GET 작성자를 불러온다 | ||
</button> | ||
<button type="button" onClick={on}> | ||
POST 이슈의 담당자를 수정한다 | ||
</button> | ||
<button type="button" onClick={on}> | ||
POST 이슈 레이블을 수정한다 | ||
</button> | ||
<button type="button" onClick={on}> | ||
POST 이슈 마일스톤을 수정한다 | ||
</button> | ||
<button type="button" onClick={on}> | ||
DELETE 이슈 상세페이지의 코멘트를 삭제한다 | ||
</button> | ||
<button type="button" onClick={on}> | ||
POST 레이블을 추가한다 | ||
</button> | ||
<button type="button" onClick={on}> | ||
PUT 레이블을 수정한다 | ||
</button> | ||
<button type="button" onClick={on}> | ||
DELETE 레이블을 삭제한다 | ||
</button> | ||
<button type="button" onClick={on}> | ||
POST 마일스톤을 추가한다 | ||
</button> | ||
<button type="button" onClick={on}> | ||
PUT 마일스톤을 수정한다 | ||
</button> | ||
<button type="button" onClick={on}> | ||
DELETE 마일스톤을 삭제한다 | ||
</button> | ||
</div> | ||
); | ||
} | ||
|
||
const test = css` | ||
display: flex; | ||
flex-direction: column; | ||
gap: 10px; | ||
> button { | ||
width: 200px; | ||
height: 40px; | ||
} | ||
`; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters