분류 전체보기 (510) 썸네일형 리스트형 택배사 운송 조회 (롯데, 우체국) 배송추적 기능 구현 시 배송사에 따른 배송상태 조회하는 방법을 알아보겠습니다. 주로 송장번호 등을 조회 페이지 주소에 쿼리로 추가하는 방식을 사용하며 배송사별 주소와 형식은 아래와 같습니다. 롯데택배 https://www.lotteglogis.com/home/reservation/tracking/invoiceView?InvNo= 주의할 점은 크롬에서 ?InvNo 부분이 자동으로 ?invNo 변환되면서 조회가 불가능한 경우가 있는 데 쿼리는 대소문자를 구분하므로 반드시 ?InvNo 형태로 들어가야합니다. 참고로 아래와 같이 폼 데이터로 전송하는 것도 가능합니다 (이 경우 송장번호가 주소에 표시되지 않음). 우체국택배 https://service.epost.go.kr/trace.RetrieveDomRigiT.. NPM - Nodemon Usually, to reflect the changes in the backend on the front end when developing an app, we have to save changes and rerun the server. Nodemon is a live server library that reflects the changes automatically without us having to do so. Implementation Installing Nodemon npm i nodemon Running Once installed we can either run the nodemon directly using the path or NPM commend ▶ Running Directly Run .. NPM npm is a JavaScript library that provides various codes ready to be used. It is the world's biggest open-source library that anyone can use and anyone can create and share their code without having to pay (But the private package is not free). We need to install node.js to use npm https://nodejs.org/en/ Node.js Node.js® is a JavaScript runtime built on Chrome's V8 JavaScript engine. nodejs.org U.. 노드몬 통상 개발환경에서 서버 작업 시 변경사항이 반영되려면 서버의 재 구동이 필요합니다. 노드몬은 npm 라이브러리 중 하나로 변경된 사항이 저장될 때마다 변경된 사항을 자동으로 반영해 주는 기능을 합니다. 구현하기 노드몬 설치 npm i nodemon 구동하기 노드몬이 설치되면 아래와 같이 경로를 통해 직접 구동하거나 엔피엠 커맨드를 통해 구동할 수 있습니다. ▶ 직접구동 커맨드 라인에 아래 명령어 실행 ./node_modules/.bin/nodemon ./ ▶ 엔피엠 사용하기 package.json파일을 열고 스크립트 칸에 노드몬 커맨드 추가 스크립트에 추가한 명령어는 아래 형태로 구동 npm run 이상으로 라이브 서버 라이브러리인 노드몬에 대해 알아보았습니다. HTML 삽입 미리보기할 수 없는 소스 Spring Boot Form Spring Boot provides an easy way to manipulate the form data. Let's see how we can bind, validate, and send form data. HTML 삽입 미리보기할 수 없는 소스 스프링 부트 폼 스프링 부트에서 폼을 통해 데이터를 전송하는 방법과 제약조건을 설정하는 방법을 살펴보겠습니다. HTML 삽입 미리보기할 수 없는 소스 Spring Beans - Dependency Injection In Object Oriented Design, there is a rule called 'SOLID" that is used to increase the reusability and flexibility while decreasing the dependency between programs SRP (Single Responsibility): A class should handle one functionality OCP (Open / Closed Principle): Functions should be expendable but not modifiable LSP (Liskov's Substitution Principle: A child should substitute their parent ISP (In.. 롬복 객체지향 프로그램에서 데이터를 전달하기 위해 엔티티가 사용됩니다. 엔티티는 고유의 특성을 규정하는 필드를 가지는데 외부에서 자유로이 필드값을 변경하는 것을 방지하기 위해 겟터, 셋터를 사용합니다. 문제는 이러한 겟터와 셋터는 비즈니즈 로직을 담고 있다기보다 비즈니스 로직 실현을 위한 공통코드로 생산성을 감소시킨다는 것입니다. 롬복은 이러한 공통코드를 어노테이션을 통해 자동 생성 해 주는 디펜던시로 오늘은 롬복을 사용하는 법을 보겠습니다. HTML 삽입 미리보기할 수 없는 소스 이전 1 ··· 7 8 9 10 11 12 13 ··· 64 다음