/ShoppingCart-1

E-Commerce Website Using Spring MVC in Maven

Primary LanguageJava

ShoppingCart HitCount

Developed an end to end Ecommerce web Application using Spring MVC with multiple modules

Functionalities:

  1. User Registeration

  2. CRUD Operations like

  • User can add product to his cart
  • Admin can add product to the product list
  • Admin can edit the product details
  • Admin can delete the product from the list
  1. Spring Security
  • User can login the site
  • The entire site will change according the role. Whether the client is User or Admin
  • user can logout after completing.
  1. Spring WebFlow
  • after adding products the cart the User can checkout using spring WebFlow
  • Confirming User Details
  • Confirming Shipping and Billing Address
  • Receipt
  • If the user cancel the webflow it will go to cancel Page
  • If the user submits the checkout it will go to thank you page with the timing of delivery Report

Tools and Technologies:

  • Technology : Bootstrap, Java, Spring MVC, Hibernate, JSP, Maven.
  • Application Servicer: Apache Tomcat Server
  • Database : H2 Database.

Installation:

  1. Development Platform - Eclipse / IntelliJ Idea

  2. Server - Apache Tomcat Server

  3. Build Tool - Maven

  4. Database - H2 Database

  5. Configuring tomcat with Eclipse (windows) - Click Here

  6. Installation of maven in eclipse - Click Here

  7. Clone the repository and import it to eclipse

  8. Run your H2 Database.

  9. Configure your databse configuration in application-context.xml

    • Database properties:

         <bean id="dataSource"
           class="org.springframework.jdbc.datasource.DriverManagerDataSource">
           <property name="driverClassName" value=YOUR DB DRIVER CLASS NAME" />
           <property name="url" value="YOUR DB URL" />
           <property name="username" value="YOUR DB USERNAME" />
           <property name="password" value="YOUR DB PASSWORD" />
         </bean>
      
      • Database Dialect:

        <prop key="hibernate.dialect">YOUR DB DIALECT</prop>
        
  10. Run the server.

ScreenShots:

  • Home Page:

Alt text

  • Contact Us:

Alt text

Somethings wrong!!

If you find that something's wrong with this package, you can let me know by raising an issue on the GitHub issue tracker

Contribution

Contributors are most welcome.