We developed an end to end Ecommerce web Application using Spring MVC with multiple modules
Project is not maintained anymore here #56
- 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.
- 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.
- 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.
- 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.
- 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.
- Bootstrap
Bootstrap is the most popular HTML, CSS, and JavaScript frameworks for developing responsive, mobile-first web sites.
- Technology : Bootstrap, Java, Spring MVC, Hibernate, JSP, Maven.
- Application Servicer: Apache Tomcat Server.
- Database : H2 Database (In memory database)
-
Development Platform - Eclipse / IntelliJ Idea
-
Server - Apache Tomcat Server
-
Build Tool - Maven
-
Database - H2 Database
-
Configuring tomcat with Eclipse (windows) - Click Here.
-
Installation of maven in eclipse - Click Here.
-
Clone the repository and import it to eclipse.
-
Run your H2 Database.
-
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>
-
-
-
Run the server.
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 🛠.
Contributors are most welcome.
- Home Page:
- Contact Us: