Table of contents
This application was created to test participants' machines compatibility with the final bank application. It consists of the following modules:
-
node.js express server - used as a REST API
-
MySQL Database - used as a main database
-
Adminer - database administration tool
-
Redis storage - used as a storage of sessions
-
Apache HTTPD - used as CDN
-
Apache HTTPD - used as frontend node and reverse proxy to backend systems
All the scripts are available in test-app folder
Windows:
build.bat
Unix:
.\build.sh
After build is completed, start the application using automatic start script:
Windows:
start.bat
Unix:
.\start.sh
Stop the application using automatic stop script:
Windows:
stop.bat
Unix:
.\stop.sh
Confirm that the application is working fine, by going to:
You can also access database directly:
Login using testappuser/TestAppPassword credentials, open database testdb and query some tables - data should be selected correctly.
This is the final application to be used during the hackathon event, consisting of the following modules:
-
node.js express server - used as a REST API
-
MySQL Database - used as a main database
-
Adminer - database administration tool
-
Redis storage - used as a storage of sessions
-
Apache HTTPD - used as CDN
-
Apache HTTPD - used as frontend node and reverse proxy to backend systems
All the scripts are available in app folder
Windows:
build.bat
Unix:
.\build.sh
After build is completed, start the application using automatic start script:
Windows:
start.bat
Unix:
.\start.sh
Stop the application using automatic stop script:
Windows:
stop.bat
Unix:
.\stop.sh
Confirm that the application is working fine, by going to:
You can also access database directly:
Login using bankappuser/AppUserPassword credentials, open database testdb and query some tables - data should be selected correctly.
Test the API by opening the following URL:
http://localhost/api/v1/customers
You can also retrieve specific customer data using direct URL:
http://localhost/api/v1/customers/2241
http://localhost/api/v1/customers/2242
http://localhost/api/v1/customers/2242/accounts
http://localhost/api/v1/accounts/86436
http://localhost/api/v1/accounts/86436/transactions
http://localhost/api/v1/transactions/12316133
Log in using customer ID and password: 2241/password.
You should be redirected to accounts list. Click on the accounts to preview the balance.