항해99/스프링입문

03. 기본 CRUD API 구현 - Level 3

숲별 2022. 10. 3. 03:44
728x90

<네이버 API 목록 살펴보기>

https://developers.naver.com/products/intro/plan/plan.md

 

네이버 오픈 API 목록 - INTRO

네이버 오픈 API 목록 NAVER Developers - API 소개 네이버 오픈API 목록 및 안내입니다. 네이버 오픈 API 목록 API명 설명 호출제한 검색 네이버 블로그, 이미지, 웹, 뉴스, 백과사전, 책, 카페, 지식iN 등 검

developers.naver.com

 

 

네이버 검색>쇼핑API주소

https://developers.naver.com/docs/serviceapi/search/shopping/shopping.md#%EC%87%BC%ED%95%91

 

검색 > 쇼핑 - Search API

검색 > 쇼핑 쇼핑 검색 개요 개요 검색 API와 쇼핑 검색 개요 검색 API는 네이버 검색 결과를 뉴스, 백과사전, 블로그, 쇼핑, 영화, 웹 문서, 전문정보, 지식iN, 책, 카페글 등 분야별로 볼 수 있는 API

developers.naver.com

 

@getter : getter 함수 자동 생성

@MappedSuperclass : 멤버 변수가 컬럼이 되도록 하는 것

@EntityListeners : 만약에 변경이 일어나면 자동으로 기록해주는 것.

 

abstract : extends가 가능한 추상형

 

그레이들에서 보면 spring-boot-starter-tomcat

고대 선배님들은 왓스? 웹서버를 미리 설치해놓고 자바코드를 밀어넣는 식으로

웹서버와 개발라이브러리가 분리가 되어있었음.

 

요즘은 소스라이브러리에서 웹서버를 인베디드(내장)하고 있음.

 

thymeleaf

 

spring-boot

spring-core

 

스프링부트 관련 라이브러리를 땡겨오면 다 세팅되서 자동으로 끌어와짐

 

현직에선 sout거의 안쓰고 

로깅 씀. 에러모아보기 가능해서..?

 

spring-boot-starter-logging 땡기면(스프링부트

 

logback-classic

slf4:jul-to-slf4j

 

궁금하면 slf4j랑 logback 검색해보라고

 

 

spring-test 

 

스프링부트가 굉장히 크니까 다 알수가 없음.

필요한 걸 찾아서 하는 능력이 중요.

 

 

https://docs.spring.io/spring-boot/docs/current/reference/html/

 

Spring Boot Reference Documentation

The reference documentation consists of the following sections: Legal Legal information. Getting Help Resources for getting help. Documentation Overview About the Documentation, First Steps, and more. Getting Started Introducing Spring Boot, System Require

docs.spring.io