Nowadays E-commerce is gaining more and more popularity, it contains all possible financial and trade transactions which are made via computer networks. Model-driven software development (MDSD) is the key to create the exact and accurate software application. All the necessary information is taken from a database. The most widely used database management system is MySQL. The latter is an open-source relational database management system, which is written in C programming language. In order to clarify the working process of an organization, a UML class diagram is created. The UML (Unified Modeling Language) is used for making graphical visual models for all the business processes. The paper presents the main stages of e-commerce transaction, using E-shop as an example.