dmytro0090 /
E-commerce-project-springBoot
This project serves as an easy-to-understand setup for beginners , providing a base foundation in Spring Boot , MVC & hibernate.
Loading repository data…
jaygajera17 / repository
This project serves as an easy-to-understand setup for beginners , providing a base foundation in Spring Boot , MVC & hibernate.
Production-oriented Java e-commerce web application built with Spring Boot, JSP, Spring Security, and Hibernate SessionFactory.
This project follows a layered MVC architecture and supports role-based access for admin and customer workflows.
LocalSessionFactoryBean)src/main/java/com/jtspringproject/JtSpringProject/
configuration/ # Security config
controller/ # MVC controllers
dao/ # Data access layer
models/ # Entities
services/ # Business layer
repository/ # Spring Data repository (partial)
HibernateConfiguration.java
JtSpringProjectApplication.java
src/main/resources/
application.properties
src/main/webapp/views/
*.jsp
basedata.sql
pom.xml
git clone https://github.com/jaygajera17/E-commerce-project-springBoot.git
cd E-commerce-project-springBoot
Update src/main/resources/application.properties:
db.driver=com.mysql.cj.jdbc.Driver
db.url=jdbc:mysql://localhost:3306/ecommjava?createDatabaseIfNotExist=true
db.username=your_db_user
db.password=your_db_password
hibernate.dialect=org.hibernate.dialect.MySQL5Dialect
hibernate.show_sql=true
hibernate.hbm2ddl.auto=update
entitymanager.packagesToScan=com
Run basedata.sql against your database if you want initial categories/users/products.
Note: sample credentials in basedata.sql are development-only defaults.
mvn clean package
mvn spring-boot:run
App URL: http://localhost:8080/
If JSP views are not resolved, set the run configuration working directory to $MODULE_WORKING_DIR$.
//login/register/newuserregister/user/products/profileDisplay/admin//admin/Dashboard/admin/products/admin/categories/admin/customers/admin/** require role ADMINUSER/admin/login/loginmvn clean verify
Notes:
mvn test requires a reachable database because context startup initializes Hibernate and datasource beans.A Jenkins pipeline is included in jenkins file with stages for:
Adjust branch, deployment steps, and credentials for your environment.
Could not resolve placeholder 'db.driver':
db.* keys exist in application.propertiesspring.mvc.view.prefix=/views/
See the full roadmap in roadmap.md.
Current priorities:
demo video: https://youtu.be/c6WWdINWSlI
If this project helped you, please consider giving it a star on GitHub. Your support helps improve visibility and motivates future maintenance.
Selected from shared topics, language and repository description—not editorial ratings.
dmytro0090 /
This project serves as an easy-to-understand setup for beginners , providing a base foundation in Spring Boot , MVC & hibernate.