Notice
Recent Posts
Recent Comments
Link
| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 1 | 2 | 3 | 4 | 5 | 6 | 7 |
| 8 | 9 | 10 | 11 | 12 | 13 | 14 |
| 15 | 16 | 17 | 18 | 19 | 20 | 21 |
| 22 | 23 | 24 | 25 | 26 | 27 | 28 |
Tags
- Rocky Linux
- git
- Spring Boot
- KAKAO
- Machine Learning
- rnn
- 고등학생 대상
- colab
- API
- ChatGPT
- ICT멘토링
- suricata
- Database
- LINUX MASTER
- C언어
- Spring
- 인터넷의이해
- Powershell
- VSCode
- GoogleDrive
- Web
- Python
- 코딩도장
- Docker
- 국가과제
- cloud
- Github
- 크롤링 개발
- OSS
- Resnet
Archives
- Today
- Total
빈 칸의 포트폴리오
스프링부트 프로젝트 생성 본문

프로젝트 메다데이터 설정

Dependency 설정

application.properties 설정
src/main/resources/application.properties 파일을 열고 MySQL 데이터베이스 설정을 추가




디렉토리 구조
myproject
├── src
│ ├── main
│ │ └── java
│ │ └── com
│ │ └── example
│ │ └── myspringproject
│ │ └── TouristSpot.java
│ └── resources
│ └── application.properties
└── pom.xml
엔티티 클래스 작성
src/main/java/com/example/demo 패키지 아래에 새로운 엔티티 클래스를 작성



리포지토리 인터페이스 작성
src/main/java/com/example/demo 패키지 아래에 새로운 리포지토리 인터페이스를 작성


'2024 Tourism Data Utilization Contest > Spring Boot' 카테고리의 다른 글
| 데이터 로더 (0) | 2024.06.20 |
|---|---|
| 설정 파일 (0) | 2024.06.20 |
| 컨트롤러 (0) | 2024.06.20 |
| 서비스 계층 설정 (0) | 2024.06.20 |
| 스프링부트 초기 환경설정 (2) | 2024.06.20 |