👩💻개발환경
- JDK 설치 - JAVA 17
- IDK - IntelliJ IDEA 설치
- start.spring.io
→ Dependencies (1) Spring Web, (2) H2 Database, (3) Mustache, (4) Spring Data JPA
-> 페이지에 "Hello World!"가 출력되기까지 어떠한 일들이 일어난 것일까?
웹 서비스 동작 원리 : 클라이언트와 서버의 요청과 응답으로 동작
localhost:8080/hello.html 이 뭘까?
해석 : "내 컴퓨터에 8080번호에서 수행되고 있는 서버에게 hello.html 파일을 요청!"
+) localhost:8080/hello.html -> resources/static 폴더 내 파일에서 찾음
강의 출처 : https://www.youtube.com/watch?v=_vDACE13Ubc&list=PLyebPLlVYXCiYdYaWRKgCqvnCFrLEANXt&index=1 [스프링 부트 입문 - 홍팍]