blog's Introduction
blog's People
blog's Issues
Repository interface๋ก ๋ถ๋ฆฌํ๊ธฐ
method๋ช ๋ณ๊ฒฝ
- Optional findOne -> Optional findById
- void deleteOne(Long id) -> void deleteById(Long id)/delete(Entity entity)
- void save(Entity entity) -> Entity save(Entity entity)
file convention
- interface(์ต์์) : ~~Repository
- class: ~~RepositoryImpl
Request DTO์ ์์ฑ์ ์ถ๊ฐ ๋ฐ ํต์ผ
- Builder / AllArgsConstructor ์ถ๊ฐ
- NoArgsConstructor ์ถ๊ฐ
Controller Test code ์ถ๊ฐ
- controller test code ์ถ๊ฐ
๋์ ์ฟผ๋ฆฌ QueryDSL๋ก ์ฝ๋ ๋ฆฌํฉํ ๋ง
- ์ ์ ์ฟผ๋ฆฌ์ ๋์ ์ฟผ๋ฆฌ ํตํฉ
- spring data jpa์ querydsl ์ธํฐํ์ด์ค ๋ถ๋ฆฌ
Test code ์ถ๊ฐ ๋ฐ ๋ฆฌํฉํ ๋ง
- Domain, Repository, Service, Controller ํ ์คํธ ์ฝ๋ ์ถ๊ฐ ๋ฐ ๋ฆฌํฉํ ๋ง
- ๋ ์ด์ด๋ณ ๋ชฉ์ /๋ถ๋ฆฌ ํ์คํ๊ฒ
์นดํ ๊ณ ๋ฆฌ ๋ณ๊ฒฝ๊ธฐ๋ฅ ์์
- ์นดํ ๊ณ ๋ฆฌ ์ผ๊ด ๋ณ๊ฒฝ, ์ ์ฅ ๊ธฐ๋ฅ
oAuth ๋ก๊ทธ์ธ / ํ์ ๊ฐ์ ๊ธฐ๋ฅ ๊ตฌํ
oAuth ๋ก๊ทธ์ธ / ํ์ ๊ฐ์ ๊ธฐ๋ฅ๊ตฌํ
- Member Entity ์์
- oAuth ๋ก๊ทธ์ธ / ํ์ ๊ฐ์ ๋ฐฑ์๋ ๊ธฐ๋ฅ ๊ตฌํ
Test Code Method ๋ณ๊ฒฝ
- test code method ์ด๋ฆ ๋ณ๊ฒฝ
layer Refactoring
- code formatting
- layer ์ค๊ณ ๊ตฌํ
QueryDSL ํ๊ฒฝ์ค์
Rest Docs ์ค์
member entity ์์
- ID Long type์ผ๋ก ์์
Common Exception Handler ์ถ๊ฐํ๊ธฐ
- common exception handler ๋ฑ๋ก
- common not found exception
- bad request exception(@Valid)
- Exception.class exception ์ฒ๋ฆฌ handler ์ถ๊ฐ(์ ์ผ ์๋์ ์์น)
Spring Data JPA ์ค์
- Spring Data JPA ๋ง๊ทธ๋ ์ด์ ์์ ์งํ
- method๋ช ์ง๊ด์ ์ผ๋ก ๋ณ๊ฒฝ
- optitional ์ค์
Issue ๋ฑ๋ก template ์ถ๊ฐ
ํ์๊ด๋ฆฌ ๊ธฐ๋ฅ ๊ตฌํ
ํ์๊ด๋ฆฌ ๊ธฐ๋ฅ ๊ตฌํ
- ํ์๊ด๋ฆฌ ๋ฐฑ์๋ ๊ธฐ๋ฅ ๊ตฌํ
- session/token ๋ก์ง ์ถ๊ฐ
- spring security/์ด๋ฐ ๋ก์ง ์ค๊ณ
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.