Appendix D. Working with the Code Examples and Containerizing Projects
Every chapter in this book includes working Node code examples to reinforce the concepts you’re learning. These are organized, tested, and maintained in a public GitHub repository. This appendix shows you how to access the code, run it locally, and optionally use Docker to simplify setup—especially if you’re working in isolated environments or across multiple machines.
Accessing the GitHub Repository
The official GitHub repository for this book’s code examples is structured by chapter. Inside each chapter folder, you’ll find subdirectories for each project or topic section, such as:
oreilly-node-projects-code/ ├── chapter_1/ │ ├── 1_1/│ ├── 1_2/│ └── ... ├── chapter_2/ │ └── ...
This structure makes it easy to navigate and find the code relevant to each chapter. Additionally, you’ll be able to work through the chapters in more digestible segments. Each project folder contains its own package.json file, so you can install dependencies and run scripts without ...
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