项目作者: userSeprid
项目描述 :
Application for PE
高级语言: Java
项目地址: git://github.com/userSeprid/AppForPE.git
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
2.0.2.RELEASE)
To start do the following:
- Install apache maven ‘https://maven.apache.org/index.html‘.
- 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.
- Install MySQL server ‘https://www.mysql.com/‘.
- Start MySQL server ‘https://dev.mysql.com/doc/refman/8.0/en/‘.
- Import the dump file ‘AppForPE/src/main/resources/mysql/dump.sql’ into your DB
- Open command line in root project directory
- Type ‘mvn spring-boot:run’ to start the application.
- 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’ !