A web app using Spring Boot that can perform the basic e-commerce functionality.
- Easy login & registration
- User-friendly product filtering
- Product gallery
- Shopping cart
- Order summary
- Payments using Paypal
- Easy login
- Pages (add, edit, delete, sort)
- Products (add, edit, delete)
- Categories (add, edit, delete, sort)
- Java 11
- Spring Boot v2.4.2
- Maven v3.6.3
- MySQL Community Server 8.0.23
- Thymeleaf
- Spring Security and roles
- Spring Data Jpa
- From the Server menu, choose Data Import
- Choose Import from Self-Contained File.
- Select the
cmsshoppingcart.sql
from thedatabase
directory. - In the Default Target Schema: Create a new schema name
cmsshoppingcart
- Select the options:
Dump Structures Only
- Click Start Import
Change database connection config in
cmsshoppingcart/src/main/resources/application.properties
restapi/src/main/resources/application.properties
restclient/src/main/resources/application.properties
spring.datasource.url=jdbc:mysql://localhost/cmsshoppingcart
spring.datasource.username=root
spring.datasource.password=
- Clone and open in Visual Studio Code (other IDE is also fine, make sure that spring boot plugins is installed)
- Change database connection config in
src/main/resources/application.properties
- Install maven dependencies using IDE auto import or using the command
mvn install
- Run the app using
mvn spring-boot:start
from project root directory. - Browse http://localhost:8080/ or http://localhost:8080/admin/pages
** I made this apps as part of the course https://www.udemy.com/course/spring-and-spring-boot-learn-by-bulding-projects