Shopping web application using Spring Boot that can perform the basic e-commerce functionality.
- 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
- Spring Boot
- Maven
- MySQL Community Server
- 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