> For the complete documentation index, see [llms.txt](https://simian114.gitbook.io/blog/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://simian114.gitbook.io/blog/undefined-1/diary/2021/january/20210128.md).

# 20210128(목)

## 2021-01-28

### 1. 학습 날짜

* 2020-01-28

### 2. 학습 시간

* 11:00 \~ 25:00

### 3. 학습 범위 및 주제

* 웹서버 평가
* API 라우팅 완성
* 웹 페이지 작성

### 4. 학습 목표

* API 라우팅을 완성한다.
* 웹 페이지를 얼추 만든다.

### 5. 학습 정리

* x

### 6. 상세 학습 내용

* 라우팅 구현을 하면서 params에 대해 아주 조금 학습했다. 길게 말할것도 없이 post로 오는 데이터, query로 오는 데이터는 종류에 상관없이 `params` 라는 해쉬 변수에 키와 밸류로 값이 담긴다.
* 포스트맨에서 자동화 테스트를 만들 수 있다. 사용법은 아주 어렵지만, 포스트맨 측에서 간단하게 사용할 수 있도록 만들어 놨기 때문에 테스트도 자동호시킬수 있었다.
  * 하지만 이 부분은 지금 하기에는 시간이 많이 걸리기에 지금은 알아두기만 하고 나중에 컨트롤러를 만들면서 하면 될거 같다.
* 레일즈에서 이미지 넣는 방법
  * `public` 폴더에 이미지를 넣고 `erb` 파일에서 `<img src=<%=asset_path("my_image.png")%>` 로 사용하면 이미지를 불러올 수 있다.

### 7. 오늘 학습 내용에 대한 개인적인 총평

* 웹서버.. 드디어 첫번째 평가를 받았다! 내일 마음편하게 바로  끝내 버려야겠다 ㅎㅎ

### 8. 다음 학습 계획

* 웹서버 평가
* 도커로 과제 진행하는 법 익히기


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://simian114.gitbook.io/blog/undefined-1/diary/2021/january/20210128.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
