UML Diagram for Online Sports Shop System Project

UML diagrams for the online sports shop project. We have elaborated the different UML diagrams like Components, Activity, Use Case, and Sequence diagrams of the online sports shop.

The Online Sports Shop application will help to manage the shop. It allows the shop owner to manage the day-to-day process of a Sports shop conveniently.

UML Diagram for Online Sports Shop System

In this article, we have compiled different structural UML diagrams i.e. component diagrams, and three types of behavioural UML diagrams i.e. Activity, Sequence, and Use Case diagrams for the Online Sports Shop Project. We have also explained the data flow diagram (DFD) for this project.

In Online Sports Shop System, we have two users, who will be interacting with the system. With the help of these diagrams, one can get a better understanding of the project. This web application is developed to provide users with an online medium where they can shop for different types of Sports items. Admin is who will manage the overall application; whereas the user or customers can buy Sports products.

Component diagram for Online Sports Shop Project

The component diagram below shows the structural relations between components in an online sports shop system. The connected components by lines represent relationships within the systems. In the diagram, it can be seen that there are components namely product, order, customer, and account.

Once the customer logs in to the system, the customer can select the desired product and place an order following the payment process. While placing the order, the customer’s account details get accessed and the order is confirmed after completing the payment.

Activity diagram for Online Sports Shop Project

Activity diagrams in UML display the functionalities of various activities and flow in management processes and software systems. The flow in the activity diagram can be sequential, branched, or concurrent.

Admin can add another admin to manage the shop. Admin can manage the category of products and can update all product detail. Admin can view booking history and detail. Admin can manage payment and transactions.

Online customers can search for products, check the availability of the product, book them, add them to the cart, and checkout. Users can view booking history at any time. Customers can make payments for the booking and view the payment history.

Sequence diagram for Online Sports Shop Project

A sequence diagram is a type of interaction diagram because it describes how and in what order a group of objects works together. A sequence diagram consists of a group of objects that are represented by lifelines and the messages that they exchange over time during the interaction.

We can see that after the user can search for products, the product’s availability is checked. After that user adds the product to the shopping cart and makes payments for the booking. After payment confirmation, the order is booked.

Use Case Diagram for Online Sports Shop Project

A UML use case diagram is a way to summarize details of a system and the users within that system. It is generally shown as a graphic depiction of interactions among different elements in a system.

As you can see from the examples below, use cases are represented by oval shapes, and the lines then show at which point an actor/user participates and interacts with their corresponding use case. You can see where each actor is involved within the entire process and where they’re excluded.

We can see that Admin will be able to add another admin and different products and categories of products into the system. Whereas, users can access the system for shopping purposes. Users cannot interact with the elements such as add admin, add products, and add categories.

DFD Diagram for Online Sports Shop Project

A DFD is a visualization tool used to illustrate the flow of information for any process or system. It shows the system with its relationship to external entities. Here, we can see how the users and the process flow work in a system.

Admin can see the home page where they can manage their profiles. Here, Admin can also add another admin to manage the shop. Admin can add, view products, manage prices of products, view bookings, check the availability of the product, etc.

Similarly, Users can manage their profile, search for particular products, and also view their bookings and payment confirmation on the system.

Click here to get the source code for Online Sports Shop System in Java