• Watch


  • Star


  • Fork


/ OnlineShoppingCart-SpringDataRest

Join GitHub today

GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.

Sign up


Jump to bottom

genmymodel edited this page Dec 28, 2012

4 revisions

Online shopping cart by GenMyModel

This repository contains a basic implementation of the shopping cart system based on Spring Data REST. The implementation exposes REST services for the domain model classes.

It has been generated online by GenMyModel with the Spring Data REST generator. GenMyModel is an online UML modeler (especially for class diagrams) with code generation features.

Run the web app

From the top level directory, run Jetty using Maven:

mvn jetty:run

and connect to: http://localhost:9090/

UML class diagram: shopping cart

The original class diagram shows some domain model for online shopping. It is commonly used when we design an online store. Each customer could have some web user identity. The web user is associated to one shopping cart. Each customer has exactly one account. Account owns shopping cart and orders (there is a composite association from ShoppingCart to Order). Orders are unique and each order can be linked to none or several payments.

View and edit the class diagram

You can view, edit and fork the original class diagram at : Online Shopping Cart class diagram

Download JPG



This diagram was originally made by Kirill Fakhroutdinov at UML diagrams


Contact the dev team at [email protected]

Pages 1

  • Home
Clone this wiki locally

  • © 2018 GitHub, Inc.
  • Terms
  • Privacy
  • Security
  • Status
  • Help

  • Contact GitHub
  • Pricing
  • API
  • Training
  • Blog
  • About

You can’t perform that action at this time.

You signed in with another tab or window. Reload to refresh your session.
You signed out in another tab or window. Reload to refresh your session.

Press h to open a hovercard with more details.

Component Diagram Example: Online Shop

Online Shop


This is a simple component diagram that shows the components and the interfaces that required and provided. The port symbols attached to the components’ border are used as a connecting point between a component and an interface it requires or provides.

Use this component diagram template as a starting point to create your own, or click Create Blank to start from scratch.

Draw Diagram

  • Use This Template
  • Create Blank

Other Examples

  • Component Diagram examples
  • All diagram examples

What is Component Diagram?

Component diagrams are used in modeling the physical aspects of object-oriented systems which shows the organization and dependencies among a set of components. Component diagrams are used to model the static implementation view of a system. They are essentially class diagrams that focus on a system’s components. Component diagrams are used for visualizing, specifying, and documenting component based systems and also for constructing executable systems through forward and reverse engineering. Component diagrams commonly contain Components, Interfaces and Dependency, generalization, association, and realization relationships. It may also contain notes and constraints. Graphically, a Component diagram is a collection of vertices and arcs.

Why Component Diagram?

In component-based development facilitates the concept such as build application by components assembly. Component diagram help us to form component based system architecture:

  • Component diagrams offer architects a natural format to begin modeling a solution.
  • Component diagrams allow an architect to verify that a system’s required functionality is being implemented by components, thus ensuring that the eventual system will be acceptable.
  • Developers find the component diagram useful because it provides them with a high-level, architectural view of the system.

Keen to try VP Online?

No limitations, no obligations, no cancellation fees.

Start a Free Trial

  • All rights reserved.

  • Terms of Service
  • Privacy Policy
  • Security Overview