- npx create-react-app .
- npm install react-bootstrap bootstrap
- npm install react-router-dom
- npm install axios
- npm install http-proxy-middleware
- npm install @emotion/css
- npm install @emotion/react
- npm install @emotion/styled
- npm install sass
- npm install firebase
- npm install react-redux
- npm install @reduxjs/toolkit
- npm init; 또는 npm init -y;(추천)
- npm install express --save; (express은 가상의 서버가 정할때)
- npm install nodemon --save; (서버 저장 할 때마다 나갔다 들어갔다 하기 귀찮으니깐 자동적으로 저장하는 방법)
- npm install path --save;("path": "^0.12.7" -> 확인)
- npm install mongoose --save
- npm install multer --save;
- npm install [email protected] --save
- npm i [email protected] (버전 낮은 버전) (npm i multer-s3 --save 이렇게 이미 설치한 뒤면 버전 확인 후 3.1로되어 있으면 버전을 맞게 수정하고 npm i를 다시 적어 다시 설치하기)
git 업로드 버그
깃허브 화살표 폴더 문제 해결- git 업로드 설정 :
1. .git 파일 제거 : `rm -rf .git`
2. 스테이지에 존재하는 파일 제거 : `git rm --cached . -rf`
" 2번 명령어를 실행하니 해당 경로의 폴더가 에디터 상에서 빨갛게 나타났다. 처음에 폴더가 다 지워진 줄 알고 놀랐는데, 알고보니 캐시(?)만 날아간 거고 폴더는 무사했다. (yarn start로 켜보니 잘 작동됨) 빨간색은 add, commit을 하면 사라진다. "
- 마지막으로 해야 할 작업 (한 번만 진행) : 위 두 단계 화살표가 들어있는 폴더마다 해주고 마지막으로 최상에서 add, commit, push로 변경 샇앙을 반영해주면 됨