E-commerce-project-springBoot

This a web application Java Based Beginner level project To developing the e-commerce website to Buy/sell the Food Item. We use the Spring Boot to build the back-end part

New Upgrade ( what's new)

  • Hibernate configuration added( database and tables automatically create when run the project)
  • Service classes provide reusable services throughout project
  • dao classes interact with database
  • bug fixed ( product image, security , etc..)
  • support in both eclipse & intellij ide
  • overall redesign entire code that help reusability.
  • disclaimer: currently working on this branch so there may be some bug related to endpoint, and working on cart logic.

How to Run ?

  • open xampp control panel start mysql server
  • go to Resource->application.properties file change db properties username,password according to yours
  • Run the project ( by build pom.xml file or right click and run main class JtSpringprojectApplication.java)
  • open http://localhost:8080/ there we go.

Workflow

  • image

Controller

  • control the endpoint and also send data to view( we use ModelAndView method)
  •   public String adminlogin() {
      	
      	return "adminlogin";
      }```
    
  • whenever /login url is hit , src->main->webapp-> adminlogin.jsp file execute

Models

  • represent data as entity and relationship among them.

View

  • receive data from controller and show with frontend.

Endpoints

Preview

image image image

Contributor name- Soumyo Nath Tripathy