Skip to content

E-Commerce shopping-cart Project using Spring boot. Technical : Hibernate/Spring Data JPA. Authentication and authorization using Spring security combined with spring Oauth2 to login with Facebook, Google.

Notifications You must be signed in to change notification settings

ngocbach99/Commerce

Repository files navigation

Commerce

Một vài nét

  • Dự án website E-Commerce Shopping-cart ứng dụng các kiến thức đã học về Spring framework
  • Trang web với hai quyền chính là ROLE_ADMIN, ROLE_USER sử dụng spring security để xác thực và phân quyền
  • Sử dụng OAUTH-2 để đăng nhập bằng tài khoản Facebook và Google
  • Sử dụng mã OTP gửi qua mail cho các bad-request(Xác định bằng Google RECAPTCHA v2)
  • Cơ sở dữ liệu MySQL kết nối bằng Hibernate, Spring Data JPA
  • Sử dụng session để lưu giỏ hàng, cập nhật giá tiền và số lượng mỗi khi có giao dịch mới
  • Có trang admin để quản lí sản phẩm, comment, categories, blog, bill và chỉ có admin mới có thể truy cập.
  • User có thể cập nhật thay đổi thông tin, thực hiện mua hàng, đọc blog, gửi email phản hồi.

Giao diện chức năng website

https://imgur.com/gallery/d1fz03x

Cách khởi chạy ứng dụng với DOCKER

+ Lệnh build image

sh docker build -t commerce-spring .

+ Lệnh khởi chạy docker-compose với image vừa build

sh docker-compose up -d

+ Truy cập

http://localhost:8005/


githubfacebooklinkedin

About

E-Commerce shopping-cart Project using Spring boot. Technical : Hibernate/Spring Data JPA. Authentication and authorization using Spring security combined with spring Oauth2 to login with Facebook, Google.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published