https://github.com/sosow0212/shoppingmall_springboot
ShoppingMall with Thymeleaf
https://github.com/sosow0212/shoppingmall_springboot
jpa spring spring-data springboot thymeleaf
Last synced: about 2 months ago
JSON representation
ShoppingMall with Thymeleaf
- Host: GitHub
- URL: https://github.com/sosow0212/shoppingmall_springboot
- Owner: sosow0212
- Created: 2022-01-16T03:44:15.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-04-04T03:48:51.000Z (about 4 years ago)
- Last Synced: 2025-04-14T10:53:02.302Z (about 1 year ago)
- Topics: jpa, spring, spring-data, springboot, thymeleaf
- Language: Java
- Homepage:
- Size: 393 KB
- Stars: 1
- Watchers: 1
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
스프링부트 쇼핑몰
프로젝트 설명
- 스프링부트를 이용하여 만든 쇼핑몰입니다.
- 판매자와 구매자로 나뉘어 기능이 분리됩니다.
- 로그인 세션을 이용한 ROLE별로 구매자와 판매자 페이지가 렌더링이 되고, 구매자는 장바구니에 물품을 담고 구매하고, 구매자 정보와 판매자 정보가 History Entity에 담기게 되고, 그걸 바탕으로 구매통계와 판매통계를 구현했습니다.
- 결제 기능 또한 구현 했습니다.
제작 후기
- @Transactional 어노테이션에 대해 공부하게 되었습니다.
- JPA 연관관계에 대해 더욱 잘 알게되는 계기가 되었습니다.
- 세션과 ROLE을 이용하여 역할별 기능을 구분하는 페이지를 만드는 방법에 대해 알게 되었습니다.
Dependencies
- Spring Web
- Thymeleaf
- Lombok
- Spring Data Jpa
- MariaDB Driver
- Spring Security
- Oauth2-client
DB 설계
- User
- Item
- Cart
- Cart_item
- Board
- History
Update
- CRUD 설계 (2022-01-16)
- 회원가입 및 로그인 구현 (2022-01-16)
- 판매자 및 구매자를 나눠 페이지 렌더링을 다르게 함 (2022-01-16)
- Entity 연관관계를 이용하여 장바구니 설계 (2022-01-18)
- 장바구니 구매 기능 구현 (2022-01-20)
- 장바구니 구매 오류 해결 (2022-01-22)
- 구매내역 구현 (2022-01-23)
- 판매 통계 및 판매 순위 구현 (2022-01-24)
- 판매 상세 페이지 구현 (2022-01-28)
- 금액 충전 구현 및 최종 완성 (2022-02-02)