🔻Extracurricular Activity/UMC

[UMC 4기] server 7주차-1

_니지 2023. 5. 14. 20:38

❗인텔리제이 및 데이터그립, 포스트맨 설치
https://ye5ni.tistory.com/159

 

IntelliJ Ultimate 설치하는 방법 & 학생 인증을 통해 무료로 이용하기

🟡 IntelliJ Ultimate 설치하는 방법 및 학생 인증 1. IntelliJ 홈페이지에 접속하여 Ultimate 다운로드 받기 https://www.jetbrains.com/idea/download/#section=windows Download IntelliJ IDEA: The Capable & Ergonomic Java IDE by JetBrain

ye5ni.tistory.com

https://radiant515.tistory.com/156

 

[Download] DataGrip 설치

https://www.jetbrains.com/datagrip/download/#section=windows Download DataGrip: Cross-Platform IDE for Databases & SQL Download the latest version of DataGrip for Windows, macOS or Linux. www.jetbrains.com

radiant515.tistory.com

https://radiant515.tistory.com/254

 

[Tool] Postman 설치 및 사용법

❗Postman 설치 https://www.postman.com/ Postman API Platform | Sign Up for Free Postman is an API platform for building and using APIs. Postman simplifies each step of the API lifecycle and streamlines collaboration so you can create better APIs—faste

radiant515.tistory.com

 
❗빈 프로젝트 생성
https://start.spring.io/

위와 같은 스펙으로 빈 프로젝트 생성
인텔리제이로 프로젝트 열기!

 
❗DB 연결
이전 스터디에서 생성해둔 RDS를 연결해보도록 하겠다!

spring:
  datasource:
    driver-class-name: com.mysql.cj.jdbc.Driver
    url: jdbc:mysql://[RDS주소]:3306/[스키마이름]
    username: admin
    password: [지정한 비밀번호]

application.properties를 application.yml로 확장자를 변경 후 위의 내용을 붙여넣는다
그 후 갖고 있는 정보들로 다시 수정을 해주면 스프링 프로젝트와  DB의 연결은 성공!
 

728x90
반응형