-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit c07cb0f
Showing
51 changed files
with
1,921 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
HELP.md | ||
.gradle | ||
build/ | ||
!gradle/wrapper/gradle-wrapper.jar | ||
!**/src/main/**/build/ | ||
!**/src/test/**/build/ | ||
|
||
### STS ### | ||
.apt_generated | ||
.classpath | ||
.factorypath | ||
.project | ||
.settings | ||
.springBeans | ||
.sts4-cache | ||
bin/ | ||
!**/src/main/**/bin/ | ||
!**/src/test/**/bin/ | ||
|
||
### IntelliJ IDEA ### | ||
.idea | ||
*.iws | ||
*.iml | ||
*.ipr | ||
out/ | ||
!**/src/main/**/out/ | ||
!**/src/test/**/out/ | ||
|
||
### NetBeans ### | ||
/nbproject/private/ | ||
/nbbuild/ | ||
/dist/ | ||
/nbdist/ | ||
/.nb-gradle/ | ||
|
||
### VS Code ### | ||
.vscode/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
# 스프링부트 블로그 V2 | ||
|
||
## 1단계 기능 | ||
- 회원가입 | ||
- 로그인 | ||
- 회원정보 보기 | ||
- 회원정보 수정하기 | ||
- 게시글 작성하기 | ||
- 게시글 목록보기 | ||
- 게시글 상세보기 | ||
- 게시글 삭제하기 | ||
- 게시글 수정하기 | ||
- 댓글 작성하기 | ||
- 댓글 삭제하기 | ||
|
||
## 2단계 기능 | ||
- 유저네임 중복체크 (AJAX) | ||
- 프로필 사진 등록 | ||
- 페이징하기 | ||
- 검색하기 | ||
|
||
## 3단계 기능 | ||
- 필터(Filter) | ||
- 유효성검사(AOP) | ||
- 비밀번호 암호화 | ||
- 인증검사(Interceptor) | ||
|
||
## 테이블 쿼리 | ||
```sql | ||
create database blogdb; | ||
use blogdb; | ||
|
||
create table user_tb ( | ||
id integer auto_increment, | ||
created_at timestamp, | ||
email varchar(20) not null, | ||
password varchar(60) not null, | ||
username varchar(20) not null unique, | ||
profile varchar(100), | ||
primary key (id) | ||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; | ||
|
||
create table board_tb ( | ||
id integer auto_increment, | ||
content varchar(10000), | ||
created_at timestamp, | ||
title varchar(100) not null, | ||
user_id integer, | ||
primary key (id), | ||
constraint fk_board_user_id foreign key (user_id) references user_tb (id) | ||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; | ||
|
||
create table reply_tb ( | ||
id integer auto_increment, | ||
comment varchar(100) not null, | ||
created_at timestamp, | ||
board_id integer, | ||
user_id integer, | ||
primary key (id), | ||
constraint fk_reply_board_id foreign key (board_id) references board_tb (id), | ||
constraint fk_reply_user_id foreign key (user_id) references user_tb (id) | ||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# 2. VIEW에서 모든 컨트롤러 요청을 완료하시오. (두번째 실습 과제) | ||
- 회원가입 | ||
- 로그인 | ||
- 회원 패스워드 수정하기 | ||
- 글쓰기 | ||
- 글수정하기 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
plugins { | ||
id 'java' | ||
id 'org.springframework.boot' version '2.7.14' | ||
id 'io.spring.dependency-management' version '1.0.15.RELEASE' | ||
} | ||
|
||
group = 'shop.mtcoding' | ||
version = '0.0.1-SNAPSHOT' | ||
|
||
java { | ||
sourceCompatibility = '11' | ||
} | ||
|
||
configurations { | ||
compileOnly { | ||
extendsFrom annotationProcessor | ||
} | ||
} | ||
|
||
repositories { | ||
mavenCentral() | ||
} | ||
|
||
dependencies { | ||
implementation 'org.springframework.boot:spring-boot-starter-data-jpa' | ||
implementation 'org.springframework.boot:spring-boot-starter-mustache' | ||
implementation 'org.springframework.boot:spring-boot-starter-validation' | ||
implementation 'org.springframework.boot:spring-boot-starter-web' | ||
compileOnly 'org.projectlombok:lombok' | ||
developmentOnly 'org.springframework.boot:spring-boot-devtools' | ||
runtimeOnly 'com.h2database:h2' | ||
runtimeOnly 'com.mysql:mysql-connector-j' | ||
annotationProcessor 'org.projectlombok:lombok' | ||
testImplementation 'org.springframework.boot:spring-boot-starter-test' | ||
|
||
// third party | ||
implementation group: 'ch.simas.qlrm', name: 'qlrm', version: '1.7.1' | ||
implementation group: 'org.mindrot', name: 'jbcrypt', version: '0.4' | ||
} | ||
|
||
tasks.named('test') { | ||
systemProperty 'file.encoding', 'UTF-8' | ||
useJUnitPlatform() | ||
} | ||
|
||
jar { | ||
enabled = false | ||
} |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
distributionBase=GRADLE_USER_HOME | ||
distributionPath=wrapper/dists | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-8.2.1-bin.zip | ||
networkTimeout=10000 | ||
validateDistributionUrl=true | ||
zipStoreBase=GRADLE_USER_HOME | ||
zipStorePath=wrapper/dists |
Oops, something went wrong.