# 2021-02-25(Thu)

| 항목         | 내용                        |
| ---------- | ------------------------- |
| 학습 날짜      | 2021-02-25(목)             |
| 학습 시간      | 11:00\~24:00              |
| 학습 범위 및 주제 | Tournament 페이지 백엔드        |
| 학습 목표      | Tournament 페이지 백엔드를 완성한다. |
| 동료 학습 방법   | -                         |

## 상세 학습 내용

일전에 API가 RESTful하지 않은 것에 대해서 고민이 있었는데, 다른 개발자들도 역시나 문제를 느끼고 있었다. 그 대안으로 GraphQL로 end point를 관리하는 방식도 있다는 것을 학습했다.

[GraphQL의 단점과 대안](https://www.bangseongbeom.com/graphql-downsides-alternatives.html) 글이 정말 좋았다.

#### 궁금한 점)

채팅할 때 클라이언트한테 보내는 메시지에 `created_at` 을 따로 셋팅하고 보내지 않았는데 불구하고 어떻게 메세지 랜더링할 때 `created_at` 값을 찾아서 표시하고 있었지???

#### 해답)

백본에서 모델을 만들 때 `created_at`이 따로 셋팅된다. Rails DB의 `created_at` 값과 다르다.

## 학습 내용에 대한 개인적인 총평

토너먼트 오퍼레이션에 대한 내용을 정한 뒤, PR 작성/리뷰하는데 대부분의 시간을 써야했다.

별개로 요즘 다른 신입 개발자들의 이력서 작성 등을 확인하는데 자극이 많이 된다. 나는 쉬지 않았을 뿐 정말 최선을 다하지 않은 것은 아니지 않을까 하는 조급한 마음이 다시 고개를 쳐든다..;; 이럴 때 뚝심있게 가려면 초심을 확인하는 것이 중요하다.

## 다음 학습 계획

* 토너먼트 오퍼레이션 작성


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://injun-woo30000.gitbook.io/growth-log/daily-review/2021/feb/2021-02-25-thu.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
