Skip to Content
Node.js 프로젝트
book

Node.js 프로젝트

by Jonathan Wexler
July 2025
Beginner to intermediate
372 pages
5h 25m
Korean
O'Reilly Media, Inc.
Content preview from Node.js 프로젝트

부록 D. 코드 예제로 작업하기 및 프로젝트 컨테이너화하기

이 책의 모든 장에는 학습하는 개념을 강화하기 위해 작동 중인 Node 코드 예제가 포함되어 있습니다. 이러한 예제는 공개 GitHub 리포지토리에서 정리, 테스트 및 유지 관리됩니다. 이 부록에서는 특히 격리된 환경이나 여러 컴퓨터에서 작업하는 경우 코드에 액세스하고, 로컬에서 실행하고, 선택적으로 Docker를 사용하여 설정을 간소화하는 방법을 보여줍니다.

GitHub 리포지토리에 액세스하기

이 책의 코드 예제를 위한 공식 GitHub 리포지토리는 장별로 구성되어 있습니다. 각 챕터 폴더 안에는 다음과 같이 각 프로젝트 또는 주제 섹션에 대한 하위 디렉터리가 있습니다:

oreilly-node-projects-code/
├── chapter_1/
│   ├── 1_1/ 1
│   ├── 1_2/ 2
│   └── ...
├── chapter_2/
│   └── ...
1

1장의 첫 번째 섹션

2

1장의 두 번째 섹션

이러한 구조 덕분에 각 챕터와 관련된 코드를 쉽게 탐색하고 찾을 수 있습니다. 또한 챕터를 보다 이해하기 쉬운 부분으로 나누어 작업할 수 있습니다. 각 프로젝트 폴더에는 고유한 package.json 파일이 포함되어 있으므로 다른 프로젝트에 영향을 주지 않고 종속성을 설치하고 스크립트를 실행할 수 있습니다.

시작하려면 리포지토리를 복제하거나 자신의 GitHub 계정으로 포크하면 됩니다. 이렇게 하면 코드를 실험하고, 변경하고, 진행 상황을 저장할 수 있습니다.

리포지토리를 복제하려면(대부분의 사용자에게 권장) 명령줄에서 컴퓨터에 코드를 저장하려는 디렉터리로 이동하여 다음 명령을 실행합니다:

git clone https://github.com/JonathanWexler/oreilly-node-projects-code.git

그런 다음 챕터 또는 프로젝트 하위 디렉터리로 이동하여 해당 섹션의 README 파일에 있는 지침을 따릅니다. 예를 들어, 1장의 첫 번째 프로젝트를 실행하려면 명령줄에 다음 명령을 입력합니다:

cd oreilly-node-projects-code/chapter_1/1_1
npm install
npm start

대신 리포지토리를 자신의 GitHub 계정으로 포크할 ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

Node.js: Novice to Ninja

Node.js: Novice to Ninja

Craig Buckler
NGINX 쿡북(3판)

NGINX 쿡북(3판)

데릭 디용기
Docker: Up & Running, 제3판

Docker: Up & Running, 제3판

Sean P. Kane, Karl Matthias

Publisher Resources

ISBN: 9798341665675