분류 전체보기 (14) 썸네일형 리스트형 [BE] 0-4. 프로젝트 준비 : Git Push 후 Docker 재시작 하는 법 - ssh nyangnyanggompeng - sudo su - git pull origin main [git pull 오류] Your local changes to the following files would be overwritten by merge: app.js [해결] git stash / git add 중 하나 선택해서 하면 됨 → 근데 git add로 해도 안되어서 그냥 git stash로 했음 - git stash - git pull origin main - git stash pop (출처) https://goddaehee.tistory.com/253 - docker rm -f $(docker ps -aq --filter ancestor=nyangnyanggompeng/node) // 현재.. [BE] 0-3. 프로젝트 준비 (AWS EC2 / RDS / Nodejs / Docker / Nginx / Jenkins) 1. AWS EC2 설치 (출처) https://code00.tistory.com/146 2. MobaXterm 설치 login as : ec2-user (출처1) https://hasiki.tistory.com/56 (출처2) https://cocoon1787.tistory.com/850 3. Jenkins admin 했다가 다시 지움 ㅜㅋㅋ 1. AWS EC2 설치 (엘리스 영상 참고) https://iottrack.elice.io/courses/63537/lectures/540948/lecturepages/6004268 2. RDS (출처) https://bcp0109.tistory.com/357 3. AWS EC2 접속 (출처) https://bcp0109.tistory.com/356 하던 중 오.. [BE] 0-2. 프로젝트 준비 (CORS / dotenv / JWT / Cookie-parser / ESLint / Prettier / MySQL / Sequelize / ES6 import 오류 / Git push 오류 / permissoin denied(PORT) 오류) 1. cors 설치 - CORS(Cross-Origin Resource Sharing) : 자신이 속하지 않은 다른 도메인, 다른 프로토콜, 혹은 다른 포트에 있는 리소스를 요청하는 cross-origin HTTP 요청 방식 npm install cors (출처) https://surprisecomputer.tistory.com/32 2. dotenv 설치 - 환경 변수를 .env 파일에 저장하여 process.env로 로드하는 의존성 모듈 npm install dotenv (출처) https://juniordev-team.tistory.com/27 3. jwt 설치 - 모바일이나 웹의 사용자 인증을 위해 사용하는 암호화된 토큰 npm install jsonwebtoken (출처) https://kong.. [BE] 0-1. 프로젝트 준비 (Node.js / Express / Babel / Nodemon / MySql / Sequlize / ESLint / Prettier) 1. Node.js + Express 설치 - Express 사용 이유 : Node.js를 사용하여 쉽게 서버를 구성할 수 있게 만든 클래스와 라이브러리의 집합체 (참고1) https://dion-ko.tistory.com/123 (참고2) https://soohyun6879.tistory.com/155 (참고3) https://despiteallthat.tistory.com/139 npm init -y npm install express npm install ejs 2. babel 설치 Node.js가 Javascript의 모든 최신 문법을 이해하는 것이 아니기 때문에 작성하는 최신 문법을 구 문법으로 변경하여 Node.js가 이해할 수 있도록 도와주는 역할 (참고1) https://blog.naver.. 이전 1 2 다음