# folders

### public 폴더

`public` 폴더는 선택 사항입니다. 이미지, 글꼴 등의 정적 자산을 저장하는 용도로 사용됩니다. `public` 폴더 내의 파일은 기본 URL(`/`)로 시작하는 경로로 참조할 수 있습니다.

`robots.txt`, `favicon.ico` 등과 같은 정적 메타데이터 파일의 경우 `app` 디렉토리 아래에 둡니다.

### app 폴더

App Router를 위한 폴더입니다. 폴더 아래에 생성된 폴더, 파일의 경로에 따라 서비스의 URL 경로가 정해집니다. (참고: [라우팅](/friendly-next-js/next.js-1/undefined-1.md))

### src 폴더

Next.js는 루트에 바로 `app` 폴더를 두는 대신 `src` 폴더에 두는 방식도 지원합니다. `src` 폴더를 사용하려면 `app` 폴더를 `src/app` 로 옮기기만 하면 됩니다.


---

# 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://book.hajoeun.dev/friendly-next-js/part-2/next.js-1/folders.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.
