Skip to content

E-Commerce Website created using Java, SpringBoot, Hibernate, MySql, etc.

License

Notifications You must be signed in to change notification settings

varunswing/SmartCart

Repository files navigation

SmartCart - An amazing website HitCount Not Maintained

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

Project is not maintained anymore here #56

Functionalities:

  1. User Registeration Cell.
  • Provide role based access to system. (Admin/Customer)
  • Application should be accessible over the internet.
  • Customer to perform the following activities:
    • Browse the store to view products.
    • Browse the store for hot discounted products of the day
    • Add and remove products from an online shopping basket.
    • Place a shopping order by providing delivery information.
  • Provide an authentication mechanism to verify the credential of an employee assigned with the administrator role.
  • Provide an authorization mechanism to restrict access to administrative functions based on the fact whether the current user in an administrator or not.
  • An admin should be able to perform following activities:
    • Add new product
    • Edit information of products.
    • View status of placed orders.
    • Update the status of an order to be delivered.
  1. CRUD Operations like
  • User can add product to their cart and purchase summary.
  • 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
  • Spring Security is a powerful and highly customizable authentication and access-control framework. It is the de-facto standard for securing Spring-based applications. Spring Security is a framework that focuses on providing both authentication and authorization to Java applications.
  • User can login into the site.
  • The entire site will change according to the role, depending on whether the client is User or Admin.
  • User can logout after completing.
  1. Spring WebFlow
  • Spring Web Flow builds on Spring MVC and allows implementing the "flows" of a web application. A flow encapsulates a sequence of steps that guide a user through the execution of some business task.
  • After adding products the cart the User can checkout using spring WebFlow.
  • Confirming User Details.
  • Confirming Shipping and Billing Address.
  • Receipt.
  • If the user cancels 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.
  1. Hibernate
  • (Hibernate in short) is an object-relational mapping framework for the Java language. It provides a framework for mapping an object-oriented domain model to a relational database. Hibernate solves object-relational impedance mismatch problems by replacing direct, persistent database accesses with high-level object handling functions.
  1. Bootstrap

Bootstrap is the most popular HTML, CSS, and JavaScript frameworks for developing responsive, mobile-first web sites.

Tools and Technologies:

  • Technology : Bootstrap, Java, Spring MVC, Hibernate, JSP, Maven.
  • Application Servicer: Apache Tomcat Server.
  • Database : H2 Database (In memory 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.

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, or take it as a task and 🧑‍💻 resolve it 💪 --> create a PullRequest 🛠.

Contribution

Contributors are most welcome.

ScreenShots:

  • Home Page:

Alt text

  • Contact Us:

Alt text

About

E-Commerce Website created using Java, SpringBoot, Hibernate, MySql, etc.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

Packages

No packages published