Coder Social home page Coder Social logo

vanilla-shop's Introduction

JPA Refactoring Project

πŸ‘‰πŸ» Summary
κΈ°μ‘΄ μ‚¬μ΄νŠΈ ν…ŒμŠ€νŠΈ μš΄μ˜μ„ ν•˜λ©° Java 언어와 κ΄€κ³„ν˜• 데이터 베이슀 κ°„ νŒ¨λŸ¬λ‹€μž„ λΆˆμΌμΉ˜κ°€ λΆˆλŸ¬μ˜€λŠ” μ—¬λŸ¬ λ¬Έμ œμ μ„ 느껴, 이λ₯Ό κ°œμ„ ν•˜κΈ° μœ„ν•΄ ν”„λ‘œμ νŠΈμ— JPAλ₯Ό λ„μž…ν•˜μ˜€μŠ΅λ‹ˆλ‹€. JPAλŠ” μ—°κ΄€λœ 객체λ₯Ό μ‚¬μš©ν•˜λŠ” μ‹œμ μ— SQL을 전달할 수 있고, 같은 νŠΈλžœμž­μ…˜ λ‚΄μ—μ„œ μ‘°νšŒν•  λ•Œ 동일성도 보μž₯ν•˜κΈ° λ•Œλ¬Έμ— μ‚¬μ΄νŠΈ JPA λ¦¬νŒ©ν† λ§ ν”„λ‘œμ νŠΈλ₯Ό μˆ˜ν–‰ν•˜μ˜€μŠ΅λ‹ˆλ‹€.


ν”„λ‘œμ νŠΈ ꡬ쑰

α„Œα…₯α†«α„Žα…¦α„€α…ͺα„Œα…₯α†Ό

ν…ŒμŠ€νŠΈ νŽ˜μ΄μ§€ ν™”λ©΄ μž…λ‹ˆλ‹€. 도메인 뢄리 μž‘μ—… 100% μ™„λ£Œ ν›„ κΈ°μ‘΄ ν”„λ‘ νŠΈμ—”λ“œ ν™”λ©΄μœΌλ‘œ μ „ν™˜ν•  μ˜ˆμ • μž…λ‹ˆλ‹€.

ν”„λ‘œμ νŠΈ μ£Όμš” 관심사

개발 ν™˜κ²½

  • Java, Mac, IntelliJ Ultimate(Educational License), Lombok, Gradle 7.5

μ‚¬μš© 기술 μŠ€νƒ

  • Backend: Spring Boot 2.7.4
  • Frontend: ν˜„μž¬ thymeleaf 둜 κ΅¬ν˜„λ˜μ–΄ μžˆμŠ΅λ‹ˆλ‹€. 도메인 뢄리 μž‘μ—… μ™„λ£Œ ν›„ React둜 μ „ν™˜ μ˜ˆμ • μž…λ‹ˆλ‹€.

API 섀계 및 진행 상황

πŸ™‹πŸ» νšŒμ› 정보

Feature Request API μ„€λͺ…
νšŒμ›κ°€μž… POST /member/join μΌλ°˜νšŒμ› form DB 전솑, νšŒμ›κ°€μž… 쀑볡 방지
νšŒμ›μˆ˜μ • PUT /member/members/{id} νšŒμ› 정보 μˆ˜μ •
νšŒμ›λͺ©λ‘ GET/POST /members νšŒμ› λͺ©λ‘ 쑰회


πŸ› μƒν’ˆ

Feature Request API μ„€λͺ…
μƒν’ˆμž‘μ„± POST /product/register μƒν’ˆ 1개 μž‘μ„±
μƒν’ˆμ‘°νšŒ GET /product/read/{idx} μƒν’ˆ idxλ₯Ό ν†΅ν•œ μƒν’ˆ 1개 쑰회
μƒν’ˆμ‚­μ œ PATCH /product/delete/{idx} μƒν’ˆ idxλ₯Ό ν†΅ν•œ μƒν’ˆ 1개 μ‚­μ œ
μƒν’ˆμˆ˜μ • PATCH /product/update/{idx} μƒν’ˆ 정보 μˆ˜μ •
μƒν’ˆλͺ©λ‘ GET /product/list μƒν’ˆ λͺ©λ‘ 쑰회. μƒν’ˆλͺ…, 판맀자, μƒν’ˆ 사진 λ“± 정보 포함.


πŸ“ μ£Όλ¬Έ

Feature Request API μ„€λͺ…
μƒν’ˆμ£Όλ¬Έ POST /order/create μƒν’ˆ μ£Όλ¬Έ
주문쑰회 GET /order/{idx} 주문 쑰회
μ£Όλ¬Έμ·¨μ†Œ POST /order/{orderId}/cancel μ£Όλ¬Έ μ·¨μ†Œ (μ£Όλ¬Έ μƒνƒœ λ³€κ²½)


μƒν’ˆ 리뷰

Feature Request API μ„€λͺ…
λ¦¬λ·°μž‘μ„± POST /reviews/{productId} μƒν’ˆμ— λŒ€ν•œ 리뷰 μž‘μ„±
리뷰λͺ©λ‘ GET /reviews/{productId}/all ν•΄λ‹Ή μƒν’ˆμ— λŒ€ν•œ 리뷰 전체 쑰회
λ¦¬λ·°μˆ˜μ • PUT /reviews/{productId}/reviewId ν•΄λ‹Ή μƒν’ˆμ— λŒ€ν•œ νŠΉμ • 리뷰 μˆ˜μ •
λ¦¬λ·°μ‚­μ œ DEL /reviews/{productId}/reviewId ν•΄λ‹Ή μƒν’ˆμ— λŒ€ν•œ νŠΉμ • 리뷰 μ‚­μ œ



vanilla-shop's People

Contributors

minjipi avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.