0612

node js 설치 & 리액트 앱 생성

Untitled

Untitled

react-study202406으로 파일명으로 생성 및 설치

Untitled

npm start → localhost:3000 창이 뜨는거 확인 (index.html 화면임)

++ README.md

# 리액트 프로젝트 시작하기

1. nodejs 설치
2. create-react-app 설치 (최초1번)

$ npm install -g create-react-app


3. react프로젝트 생성

$ npx create-react-app 프로젝트이름


4. react 프로젝트 실행

$ cd 프로젝트폴더 $ npm start


- <http://localhost:3000> 에서 프론트엔드 서버 실행