본문 바로가기

API

(11)
메일 API : 이메일 보내기 API - (구글, 스프링부트) # 1 스프링 이니셜라이저를 통한 세팅앱 비밀번호가 프로젝트 내 smtp 설정에서 password로 사용될 것이다.※발급 시에만 보여지기 때문에 따로 메모장에 별도로 저장해두자 ※   # 2 build gradleplugins { id 'java' id 'org.springframework.boot' version '3.3.0' id 'io.spring.dependency-management' version '1.1.5'}group = 'com.static'version = '0.0.1-SNAPSHOT'java { sourceCompatibility = '21'}configurations { compileOnly { extendsFrom annotationProcessor }}repositories {..
Security/OAuth2(구글로그인)/JWT(access, refresh) 발행 및 저장 -개인 복습(API) 1부 해당 게시물 목차구글 로그인 (OAuth2 로그인) + 토큰 관리일반로그인 + 이메일 인증 java : 21framework : spring bootide : intelliJbuild tool : gradleview : react(로그인까지만 thymeleaf)db : mysql 8etc : jpa (프론트는 리액트로 개발할 것이나 일단 로그인 기능까지만 thymeleaf로 테스트하며 작업할 예정) - pom.xmlplugins { id 'java' id 'org.springframework.boot' version '3.2.5' id 'io.spring.dependency-management' version '1.1.4'}group = 'com.login'version = '0.0.1-SNAPSHOT'..
[API] 다중 파일 업로드 & 다운로드 (Ver. Part) [준비] IDE : 인텔리제이 java : java version "21.0.2" 2024-01-16 LTS DB : MySQL 8 View : thymeleaf (거의 사용 안 함) 기타 : PostMan , 스프링 이니셜라이저 사용 (Dependecy는 아래 build.gradle 코드 확인) build : gradle [project 구조] [ application.yml ] server: port: 8080 spring: datasource: url: "jdbc:mysql://localhost/files" username: "root" password: "각자 root 사용자 비밀번호" driver-class-name: com.mysql.cj.jdbc.Driver jpa: hibernate: dd..