Code Monkey home page Code Monkey logo

e-commerce-'s Introduction

E-commerce-

An interactive web application full stack project for users to add products(admin only), put listing products to the shopping cart, and check out the items in the shopping cart.

Tech Stack

  • Front end: JavaScript
  • Back end: JAVA8(Eclipse JEE)
  • Database: MYSQL
  • Java servlet: Apache Tomcat v9.0
  • Framework: Spring, Hibernate

Configuration

  • Spring Security(in memory for admin and JDBC for users)
  • Applications(dataSource, sessionFactory, multipartResolver)
  • pom.xml(frameworks support)
  • server.xml in your server(add a folder to store product images)

Spring Bean

In order to use inversion of control and dependency injection, we need to use configure classes as Spring Beans. They are done in my xml files.

Controller

I use Spring MVC to deal with HTTP request and response. image

  • HomePage(login and logout)
  • Register
  • Cart(show cart items)
  • CartItem(add and remove items)
  • Order
  • Product(list all products)

login

image

logout

image

register

image

shopping cart

image

product listing

image

Database

I use Hibernate to support database CRUD operations instead of using SQL scripts. In the model package, I build each schema as class, and the dao package provides database operation methods. image

Spring Web Flow

details

image

confirm

image

receipt

image

done

image

e-commerce-'s People

Contributors

stella-zhou-s avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.