- Create React App: 한 번의 명령으로 React Web App을 셋업해준다.
- npx create-react-app react-js-movie
- package.json에서 scripts의 test, eject는 지운다.
- readme도 지우고 간단하게 내용입력
- 터미널에 npm start을 입력하면 바로 서버가 열린다!
- 깃헙과 연결하자
- git init
- github에서 새로운 repository를 만들고, url을 복사
- git remote add origin http://github.com/wonjongRyu/react-js-movie
- git add .
- git commit -m "Setup is Done"
- git push origin master
- 깃헙 레포 새로고침 해보면 반영되어 있다.