Skip to content

A Ecommerce website developed using Spring Web framework with Hibernate in the background to handle database.

Notifications You must be signed in to change notification settings

Bhavesh27/ECommerce

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

68 Commits
 
 
 
 
 
 

Repository files navigation

ECommerce Website Using Spring-MVC

A complete E-Commerce websites for selling books and e-books developed using JavaEE Technologies like Spring MVC, Spring core, Hibernate, JSP.

Motivation

The main motivation was amazon.com which started as a bookstore and grew out so much more.Also, the project provided me the oppurtunity to dive into building enterprise edition apps using Java Spring Framework and ORM Library Hibernate and learn so much more while developing and building .

Build status

Build status of continus integration

* No-xml Spring MVC web application
* JSP, Bootstrap
* JPA (Hibernate/HSQLDB/Spring Data JPA)
* JUnit/Mockito
* Spring Security

Prerequisites

* JDK 8
* Maven 3
* Tomcat Server (Preferably 9) 

Code style

Project is developed using standard Java Design Pattern in order to enhance code modularity and make it more understandable. DAO (Data Access Object) desin Pattern is followed.DAO Design Pattern is used to separate the data persistence logic in a separate layer. This way, the service remains completely in dark about how the low-level operations to access the database is done. This is known as the principle of Separation of Logic. With DAO design pattern, we have following components on which our design depends:

* The model which is transferred from one layer to the other.
* The interfaces which provides a flexible design.
* The interface implementation which is a concrete implementation of the persistence logic.

Screenshots

logo/demo/screenshot

Updated in the future

Tech/framework used

Built with

  • Spring Framework
    • Spring MVC
    • Spring Core - dependency injection, events, resources, i18n, validation, data binding, type conversion, SpEL, AOP
    • Data Access - transactions, DAO support, JDBC, ORM, Marshalling XML
  • Hibernate
  • Bootstrap
  • Apache Tomcat
  • Jsp(Java Server Pages)

Features

What makes your project stand out?

Updated in the future

Code Example

Updated in the future

Installation

Provide step by step series of examples and explanations about how to get a development env running.

  • To get the code

    If this is your first time using Github, review http://help.github.com to learn the basics.

    • Now import the project in eclipse IDE
    • Setup the Tomcat Server (Preferably Tomcat 9,else change dependency )
    • Edit the database configuration in hibernate configuration file.
    • Select the project, right click on it and select Run on Server
      • Hope it works on your system.

API Reference

Tests

Unit Test Files are present in test folder that can run by

* Selecting a unit test case file.
* Right click on it and Select Run as -> unit Test code

How to use?

Contribute

You can contribute by updating/improving the Jsp based Frontend of the web app.

I am currently porting the frontend to angular2. So, if intersted you can help in that as well.

License

A short snippet describing the license (MIT, Apache etc)

[BHAVESH KUMAR] (https://github.com/Bhavesh27) ©

About

A Ecommerce website developed using Spring Web framework with Hibernate in the background to handle database.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published