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 NestJS 배달 프로젝트 Microservice - 12. Notification Microservice 구현하기

      1. Notification  프로젝트 구성 개요주요 기능: Notification 생성, 전송 상태 관리  2. 디렉토리 구조 (일부)project-root/ ├── apps/ │ …

  • Touch and Swipe
    Nodejs

    NestJS 배달 프로젝트 Microservice - 11. Payment Microservice 구현하기

       nest g app  설치  1. Docker Compose 설정 (docker-compose-payment.yml)먼저 Payment 마이크로서비스를 위한 독립된 Docker Compose 파일을 작성합니…

  • Touch and Swipe
    Nodejs

    NestJS 배달 프로젝트 Microservice - 10.NestJS로 주문(Order) 도메인 모델 설계하기 - Mongoose Entity 구축

     NestJS로 주문(Order) 도메인 모델 설계하기 - Mongoose Entity 구축 이번 글에서는 NestJS 기반 Order Microservice에서 주문 데이터를 MongoDB에 저장하기 위한…

  • Touch and Swipe
    Nodejs

    NestJS 배달 프로젝트 Microservice - 9.Order Microservice - Docker & MongoDB 연동

      NestJS Order Microservice - Docker & MongoDB 연동이번 글에서는 NestJS 기반의 Order Microservice를 구축하는 과정을 다룹니다.특히 MongoDB와 연동하여 마이…

  • Touch and Swipe
    Nodejs

    NestJS 배달 프로젝트 Microservice - 8.Product Microservice 생성하고 Docker 설정하기

     NestJS 프로젝트 초기 세팅 및 Product 모듈 구현 정리  nest g app 명령어로 애플리케이션을 생성하고, 기본적인 ProductModule을 구축해 나가는 과…

  • Touch and Swipe
    Nodejs

    NestJS 배달 프로젝트 Microservice - 7. basic 기반 토큰사용 - 로그인 구현하기

      NestJS를 기반으로 한 인증 시스템을 구현하며, 회원가입과 로그인 기능을 개발한 과정을 기술 블로그 형식으로 자세히 정리합니다. 이 글에서…

  • Touch and Swipe
    Nodejs

    NestJS 배달 프로젝트 Microservice - 6.NestJS 기반 사용자 회원가입 기능 구현기

      이 포스트는 NestJS, PostgreSQL, Docker를 활용한 회원가입 시스템 구축 과정을 실습 중심으로 설명합니다. 실제 강의에서 제공된 코드를 기반으로, …

  • Touch and Swipe
    Nodejs

    NestJS 배달 프로젝트 Microservice - 5.Auth Module 생성하기

     Auth Module 생성하기 소스 : https://github.dev/braverokmc79/nestjs-delivery ■  프로젝트 구조nestjs-delivery ├── backend │ ├── apps │ │ …

  • Touch and Swipe
    Nodejs

    NestJS 배달 프로젝트 Microservice - 4.NestJS MSA 환경에서 User Service의 Docker Compose 구성 방법

     NestJS MSA 환경에서 User Service의 Docker Compose 구성 방법이번 강의에서는 NestJS 기반 MSA(Microservice Architecture) 구조에서 User Service를 어떻게 PostgreSQL과 함…

  • Touch and Swipe
    Nodejs

    NestJS 배달 프로젝트 Microservice - 3.MSA 환경에서 User Service의 Docker Compose 구성 방법

     NestJS MSA 환경에서 User Service의 Docker Compose 구성 방법NestJS 기반 MSA(Microservice Architecture) 구조에서 User Service를 어떻게 Docker 환경에서 구성하고, docker-…