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

    new ✅ Docker와 Kubernetes 비슷한 듯 다른, 컨테이너 생태계 이야기, 그리고 Docker vs Kubernetes, 규모별 선택 기준 , 쿠버네티스 운영 환경, 예전과 지금, docker-compose.yml → Kubernetes YAML 변환 예제, ✅ Helm Chart

     1.Docker와 Kubernetes: 비슷한 듯 다른, 컨테이너 생태계 이야기쿠버네티스(Kubernetes)와 도커(Docker)를 처음 접하면 가장 많이 하는 말 중 하나가 있습니…

  • Touch and Swipe
    Nodejs

    ✅NestJS 배달 프로젝트 Microservice - gRPC 함수 실행하기 - 49.Kubernetes

     Kubernetes Bloghttps://kubernetes.io/blog/2025/09/15/kubernetes-v1-34-decoupled-taint-manager-is-now-stable/ 오케스트레이션이란 ?오케스트레이션은 여러 개의 컴퓨터 …

  • Touch and Swipe
    Nodejs

    NestJS 배달 프로젝트 Microservice - gRPC 함수 실행하기 - 48.Tracing 적용하기

     1. Tracing의 필요성마이크로서비스 환경에서는 서비스 간 요청이 복잡하게 얽혀 있습니다. 이때 장애가 발생하거나 성능이 저하되면 어느 서비스에…

  • Touch and Swipe
    Nodejs

    NestJS 배달 프로젝트 Microservice - gRPC 함수 실행하기 - 47.gRPC Intercepter사용해보기

     1. Interceptor란?Interceptor는 gRPC 호출 전/후에 특정 로직을 삽입할 수 있는 기능입니다. 예를 들어:요청마다 공통으로 필요한 Metadata를 추가호출 추적(…

  • Touch and Swipe
    Nodejs

    NestJS 배달 프로젝트 Microservice - gRPC 함수 실행하기 - 46.마무리 및 테스트하기

     gRPC 함수 실행하기 -  46. 마무리 및 테스트하기 – 전체 플로우 점검   1. 들어가며이제까지 User, Product, Order, Payment, Notification, …

  • Touch and Swipe
    Nodejs

    NestJS 배달 프로젝트 Microservice - gRPC 함수 실행하기 - 45.GatewayMicroservice 작업하기

     gRPC 함수 실행하기 - 45.GatewayMicroservice 작업하기  1. Gateway 내부 서비스 구조게이트웨이는 크게 세 가지 마이크로서비스와 연결됩니다:Product…

  • Touch and Swipe
    Nodejs

    NestJS 배달 프로젝트 Microservice - gRPC 함수 실행하기 - 44.OrderMicroservice 작업하기

     gRPC 함수 실행하기 - 44.OrderMicroservice 작업하기1. 기존 구조기존 OrderService는 사용자(User), 상품(Product), 결제(Payment) 서비스를 메시지 기반(ClientProxy)으…

  • Touch and Swipe
    Nodejs

    NestJS 배달 프로젝트 Microservice - gRPC 함수 실행하기 - 43.NotificationMicroservice 작업하기

    NestJS 마이크로서비스 - NotificationMicroservice를 gRPC 기반으로 변경하기  1. 기존 구조기존의 NotificationService는 OrderMicroservice와의 통신을 이벤트 기반…

  • Touch and Swipe
    Nodejs

    NestJS 배달 프로젝트 Microservice - gRPC 함수 실행하기 - 42.PaymentMicroservice 작업하기

     gRPC 함수 실행하기 - 42.PaymentMicroservice 작업하기 NestJS 마이크로서비스 - PaymentMicroservice를 gRPC 기반으로 변경하기NestJS에서 마이크로서비스를 구…

  • Touch and Swipe
    Nodejs

    NestJS 배달 프로젝트 Microservice - gRPC - 41. GatewayMicroservice 작업하기

     1. AppModule 설정@nestjs/common, @nestjs/microservices, @nestjs/config 등을 활용해 모듈을 구성.ConfigModule.forRoot로 환경 변수 검증 스키마를 설정:HTTP_PORTUSER_HOST, U…