> For the complete documentation index, see [llms.txt](https://book.hajoeun.dev/friendly-next-js/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://book.hajoeun.dev/friendly-next-js/part-2/next.js-1/folders.md).

# 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` 로 옮기기만 하면 됩니다.
