회원가입, 로그인, 게시판 CRUD를 구현해보는 프로젝트입니다.
추후 기능은 추가될 수 있습니다.
프로젝트 생성
웹서버를 빨리 띄우기 위해 gradle로 실행하지 않고 Intellij로 실행
Lombok 사용을 위한 설정
H2 DB 설정
application.properties
#h2 console ??? ? ?? ??
spring.h2.console.enabled=true
spring.h2.console.path=/h2-console
#h2 ?????? ??
spring.datasource.url=jdbc:h2:tcp://localhost/~/board;
spring.datasource.driverClassName=org.h2.Driver
spring.datasource.username=sa
spring.datasource.password=
spring.jpa.database-platform=org.hibernate.dialect.H2Dialect
spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.H2Dialect
#hibernate ??
spring.jpa.properties.hibernate.format_sql=true
spring.jpa.properties.hibernate.show_sql=true
spring.jpa.hibernate.ddl-auto=create
spring.output.ansi.enabled=always
UML
'토이 프로젝트 > 게시판 프로젝트' 카테고리의 다른 글
6. 게시판 프로젝트 - 인터셉터 등록, 회원가입 폼 중복 ID 검증 (0) | 2022.08.10 |
---|---|
5. 게시판 만들기 - 회원가입 필드 오류 검증, PRG 패턴 (0) | 2022.08.09 |
4. 스프링 게시판 만들기 - 로그인 기능1(세션) , 필드 오류 검증 (0) | 2022.08.09 |
3. 스프링 게시판 만들기 - 컨트롤러 생성(Member), 회원가입 기능, 뷰 생성 (0) | 2022.08.09 |
2. 스프링 게시판 만들기 - 도메인 생성, Member 테스트(repository,service) (0) | 2022.08.08 |