Skip to Content
한 권으로 끝내는 Node & Express(2판): 모던 웹을 위한 서버 사이드 자바스크립트의 모든 것
book

한 권으로 끝내는 Node & Express(2판): 모던 웹을 위한 서버 사이드 자바스크립트의 모든 것

by 한선용, 이선 브라운
May 2021
Beginner to intermediate
448 pages
9h 47m
Korean
Hanbit Media, Inc.
Content preview from 한 권으로 끝내는 Node & Express(2판): 모던 웹을 위한 서버 사이드 자바스크립트의 모든 것
277
16
단일 페이지 애플리케이션
애플리케이션 루트로 이동해서
server
디렉터리를 만듭니다. 이 디렉터리에 익스프레스 서버
를 만듭니다. 클라이언트 앱이 들어갈 디렉터리는 만들지 마세요.
CRA
에서 필요한 작업을 할
겁니다.
CRA
를 실행하기 전에 먼저 얀
3
을 설치해야 합니다. 얀은
npm
과 비슷한 패키지 매니저이며
실제로 많은 부분에서
npm
을 대체합니다. 얀이 리액트 개발에 필수는 아니지만 사실상 표준
이며, 얀을 사용하지 않고 리액트 앱을 개발하는 것은 물길을 거슬러 헤엄치는 것만큼 어렵습
니다. 얀과
npm
사이에는 세밀한 차이가 여러 가지 있지만, 여러분이 체감할 수 있는 차이는
npm
install
대신
yarn
add
를 실행한다는 것 정도입니다. 얀을 설치하려면
http
://
bit
.
ly
/
2xHZ2Cx
의 설명을 따라 하세요.
설치한 다음에는 애플리케이션 루트에서 다음 명령을 실행합니다.
yarn create-react-app client
다음에는 클라이언트 디렉터리로 이동해서
yarn
start
명령을 실행합니다. 몇 초가 지나면 리
액트 앱을 실행 중인 브라우저 창이 나타납니다.
이 터미널 창은 닫지 말고 그대로 둡니다.
CRA
는 실시간 리로드를 정말 잘 지원합니다. 소스
코드를 업데이트하면 즉시 서버 앱도 업데이트되고 브라우저도 자동으로 ...
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 & Express: 웹사이트 구축을 위한 서버 사이드 자바스크립트

한 권으로 끝내는 Node & Express: 웹사이트 구축을 위한 서버 사이드 자바스크립트

한성용, 이선 브라운

Publisher Resources

ISBN: 9791162244227