Nodejs

  • Touch and Swipe
    Nodejs

    7 ★★★ Node js 초기 셋팅

     https://expressjs.com/en/starter/generator.html 위 방법데로 시작하면 다음과 같은 에러 no default engine was specified and no extension was provided 해결 = >&n…

  • Touch and Swipe
    Nodejs

    6 Node.js - 패키지 매니저와 PM2

        1. PM2 기본 사용방법 2.https://www.tutorialbook.co.kr/entry/PM2-를-이용하여-NodeJS-프로세스-관리하기 pm2 start app.js  MonitoringMo…

  • Touch and Swipe
    Nodejs

    5 NodeJS Express 설치 및 서비스 개발

      Express-generate 를 이용하여 프로젝트 구성하기 express-generate 를 이용하기 위해 npm install express-generate -g 를 통해 express-generate 를 설치1) $&nb…

  • Touch and Swipe
    Nodejs

    5 NodeJS nodemailer 모듈 로 메일보내기

     Nodemailer :: Nodemailer 설치1. npm install nodemailer nodemailer-smtp-pool --save1) gmail2. test.jsvar nodemailer = require('nodemailer'); var smtpPool=require('nodemai…

  • Touch and Swipe
    Nodejs

    5 Node.js 설치후  db 연동

      1. 노드 설치https://nodejs.org/ko/download/  2. Express-generate 를 이용하여 프로젝트 구성하기$ npm install express-generator -g3. express {APP_NAME} 명령어…

  • Touch and Swipe
    Nodejs

    5 Node.js 에서 API 서버 만들기

      1 . Node.Js 설치후  Db 연동http://macaronics.net/index.php/m03/nodejs/view/1800  2.  axios  및  uuid-apikey ( 키생성 )설치$npm i axios -…

  • Touch and Swipe
    Nodejs

    5 Node.js 스케줄러

     설치$npm i node-schedule --save node-schedule - npm (npmjs.com) node-schedule.js const schedule = require("node-schedule"); let sheduleObj = null const set = (s)…

  • Touch and Swipe
    Nodejs

    5 NodeJS 크롤링

     임의 디텍토리 생성$npm init -y 모듈 설치$npm install axios cheerio 1) axios - npm (npmjs.com)2) cheerio - npm (npmjs.com)  crawling.jsconst axios = requ…

  • Touch and Swipe
    Nodejs

    5 Nodejs 세션관리 로그인 로그아웃 - 32

      패키지 json 파일을 만든다.# npm init-대문자 안 된다.# express package.json  이름 충돌 주의#npm install express --save #npm install express-session --sa…

  • Touch and Swipe
    Nodejs

    5 Nodejs 데이터베이스 사용(mongodb )- 35

       Windows에 MongoDB 설치하기..신규하 2014.05.26 18:19윈도우에 MongoDB를 설치 하면서, 내용을 약간 정리해 봅니다. 1. 다운로드 http://www.…

  • Touch and Swipe
    Nodejs

    NestJS 배달 프로젝트 Microservice - 배포- 62.Dockerfile 최적화하기

    ⚡ NestJS Gateway Dockerfile 최적화하기NestJS 마이크로서비스를 실무에 배포할 때, Dockerfile 최적화는 필수입니다. 단순히 "잘 동작한다"에서 끝나는 …

  • Touch and Swipe
    Nodejs

    NestJS 배달 프로젝트 Microservice - Kubernetes (Helm)- 61. Helm 실습

     ⚡ Kubernetes Helm 실습 ⚡여러분, 오늘은 Kubernetes에서 Helm을 활용해 애플리케이션을 배포하고 관리하는 실습을 함께 진행해보겠습니다. 이 글은 단…

  • Touch and Swipe
    Nodejs

    NestJS 배달 프로젝트 Microservice - Kubernetes (Helm)- 60.Helm 설치

     1. Helm이란 무엇인가? ⭕Helm = Kubernetes의 패키지 관리자리눅스에서 apt, yum이 있듯이, Kubernetes에는 Helm이 있습니다.반복적으로 작성해야 하는 YAML 파…

  • Touch and Swipe
    Nodejs

    NestJS 배달 프로젝트 Microservice - Kubernetes (Helm)- 59.Helm 이론 -Kubernetes에서 Helm 완전 정복

     Kubernetes에서 Helm 완전 정복: 개발자를 위한 가장 쉬운 패키지 매니저 가이드 쿠버네티스(Kubernetes)로 서비스를 운영하다 보면, YAML 파일이 눈덩…

  • Touch and Swipe
    Nodejs

    NestJS 배달 프로젝트 Microservice - Kubernetes - 58.Persistent Volume 실습

      Persistent Volume(PV)와 Persistent Volume Claim(PVC) 1. Persistent Volume, Persistent Volume Claim, Deployment 개념 이해✅  DeploymentPod를 관리하는 컨트롤러입…

  • Touch and Swipe
    Nodejs

    NestJS 배달 프로젝트 Microservice - Kubernetes - 57.ClusterIP 실습

      Kubernetes Service 실습: ClusterIP 이해와 적용 1. Kubernetes Service 개념: ClusterIP란?쿠버네티스에서 Service는 동적으로 변하는 Pod를 하나의 고정된 …

  • Touch and Swipe
    Nodejs

    NestJS 배달 프로젝트 Microservice - Kubernetes - 56.NodePort 이해와 적용

     Kubernetes Service 실습: NodePort 이해와 적용  Kubernetes의 kind 종류와 설명쿠버네티스(Kubernetes)에서 kind는 리소스 객체의 종류(Type)를 나타냅니다.…

  • Touch and Swipe
    Nodejs

    NestJS 배달 프로젝트 Microservice - Kubernetes - 55. Probe 실습

     Kubernetes Probe  튜토리얼1. Probe란 무엇인가?쿠버네티스에서 Pod은 단순히 컨테이너를 띄우는 것에 그치지 않고, 지속적으로 "건강 상태"…

  • Touch and Swipe
    Nodejs

    NestJS 배달 프로젝트 Microservice - Kubernetes - 54. ConfigMap과 Secret 개념 정리 및 실습

     Kubernetes ConfigMap & Secret 튜토리얼 1. ConfigMap과 Secret 개념 정리Kubernetes에서 애플리케이션을 배포할 때, 환경 설정 값은 코드와 분리해서 관리…

  • Touch and Swipe
    Nodejs

    NestJS 배달 프로젝트 Microservice - Kubernetes - 53.Namespace 실습

    Kubernetes Namespace 쿠버네티스(Kubernetes)를 조금만 다뤄보면 금방 알게 되는 사실이 하나 있습니다. 바로 리소스가 전부 한 바구니(default 네임스페이스)…