项目作者: userSeprid

项目描述 :
Application for PE
高级语言: Java
项目地址: git://github.com/userSeprid/AppForPE.git
创建时间: 2018-05-17T12:45:15Z
项目社区:https://github.com/userSeprid/AppForPE

开源协议:

下载


Web application for Product Engine.

This is a web-application that works as a bank.
This bank persist data about:

  • Clients (ID, name, address, age);
  • Accounts (ID, owner ID, amount of money)
  • Transactions (ID, sender account ID, receiver account ID, timestamp(when transaction was performed);

Application consists of 4 pages and additional forms:

First page:

  • List of bank clients (Names in table are clickable and refer to ‘Client page’);
  • Form for creating a client;

Second page:

  • Link that refer to first page;
  • Table with client details;
  • List of client accounts (ID’s in table are clickable and refer to ‘Money operations page’);
  • Form for creating an account;

Third page:

  • Link that refer to first page;
  • Table with account details;
  • From for money deposit;
  • Form for money withdraw;
  • Form for performing transactions between accounts;

Fourth page:

  • Transaction list with filter by account ID;

If on page four you input ‘1’ as result you will have all deposit and withdraw transactions.

Technology, tools, libs used:

  • Maven
  • Spring-boot
  • MySQL DB
  • Thymeleaf

For deployment spring-boot plugin is uses. (org.springframework.boot:spring-boot-maven-plugin:2.0.2.RELEASE)

To start do the following:

  1. Install apache maven ‘https://maven.apache.org/index.html‘.
  2. Type ‘ mvn -version’ in command line. If as input you have message with information about your maven and java version and path ande other information it mean that maven configured properrly.
  3. Install MySQL server ‘https://www.mysql.com/‘.
  4. Start MySQL server ‘https://dev.mysql.com/doc/refman/8.0/en/‘.
  5. Import the dump file ‘AppForPE/src/main/resources/mysql/dump.sql’ into your DB
  6. Open command line in root project directory
  7. Type ‘mvn spring-boot:run’ to start the application.
  8. Open in your browser ‘http://localhost:8090/allClients

! Maven must be installed and configured and MySQL server must be started before starting the application also DB must be prepared - dump file located in ‘AppForPE/src/main/resources/mysql/dump.sql’ !