Mini Project : E-commerce app for web using Spring Boot and MySql
- Java 19
- Spring Boot v4.17.1
- Maven
- MySQL Community Server
- Spring Security and roles
- Spring Data Jpa
Change database connection config in src/main/resources/application.properties
- spring.datasource.url=jdbc:mysql://localhost/cmsshoppingcart
- spring.datasource.username=root
- spring.datasource.password=
- Download the zip or clone the Git repository.
- Unzip the zip file (if you downloaded one)
- Open Command Prompt and Change directory (cd) to folder containing pom.xml
- Open Eclipse
- File -> Import -> Existing Maven Project -> Navigate to the folder where you unzipped the zip
- Select the right project
- Choose the Spring Boot Application file (search for @SpringBootApplication)
- Right Click on the file and Run as Java Application