Nodejs
-
[Node.js] NPM, PM2생활코딩/WEBn 2020. 9. 14. 16:38
[강의 출처] opentutorials.org/course/3332/21133 Node.js - 패키지 매니저와 PM2 - 생활코딩 수업소개 혼자서 소프트웨어를 만드는 일은 거의 없습니다. 타인의 모듈을 이용해서 소프트웨어를 만들게 됩니다. 이 때 사용하는 모듈이 많아지면 여러가지 복잡한 문제가 생겨납니다. 이를 �� opentutorials.org NPM (Package Manager) python의 pip에 해당 전역에서 사용할 패키지라면 'npm install 패키지명 -g'으로 다운로드가 가능하다. -g는 --global 옵션. 특정 프로젝트에서만 사용할 패키지라면, 해당 경로에서 'npm init' 명령을 통해 프로젝트 초기 설정 후, 다운로드 및 관리할 수 있다. init시에 패키지명을 비롯해..
-
[Node.js] 기타 - read/write JSON, function import, css/js response, favicon생활코딩/WEBn 2020. 9. 11. 23:32
~node.js로 로컬호스트에서 웹페이지 실습 겸 삽질해가며 깨달은 내용 기록~ json파일 가져오기 data // 확장자 따로 설정하지 않았다 { "logo": "https://images.unsplash.com/photo-1592438710456-7ac899fc0b94?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&w=1000&q=80", "logosize": "width=\"300\" height=\"200\"", "description": "Big Tech, also known as the Tech Giants or S&P 5, are the largest and most dominant companies in the information technology indust..