❗스프링 프로젝트 생성하기
❗Postman 설치
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—faster.
www.postman.com
https://radiant515.tistory.com/254
[Tool] 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—faster. www.postman.com
radiant515.tistory.com
❗API 만들기
✏️DB 생성
spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
spring.datasource.username=root
spring.datasource.password=비밀번호
spring.datasource.url=jdbc:mysql://localhost:3306/[스키마(데이터베이스)이름]?characterEncoding=UTF-8&serverTimezone=UTC
✏️인텔리제이에 DB 추가
https://radiant515.tistory.com/237
[Database] DB 생성 후 Intellij 및 Datagrip과 연결
Datagrip을 통해 boardschema란 스키마를 생성했다 boardschema를 해당 DB를 사용할 인텔리제이 프로젝트에서도 바로 열어볼 수 있게 추가하고자 한다(추가하지 않아도 상관은 없다) DB의 URL은 jdbc:mariadb://
radiant515.tistory.com
✏️TestController 실행 및 결과 확인
'🔻Extracurricular Activity > UMC' 카테고리의 다른 글
[UMC 3기] server 7주차-1 (0) | 2022.11.09 |
---|---|
[UMC 3기] server 6주차-3 (0) | 2022.11.02 |
[UMC 3기] server 6주차-1 (0) | 2022.11.02 |
[UMC 3기] server 5주차-2 (0) | 2022.10.22 |
[UMC 3기] server 5주차-1 (0) | 2022.10.21 |