- Angular 8
- Packages installed (node_modules) :
- bootstrap
- @ng-bootstrap/ng-bootstrap
- @fortawesome/fontawesome-free
- Updated version of Serialize JavaScript | doc
- Packages installed (node_modules) :
- Spring
- Maven
- Tomcat v9
- Instal NodeJS
- Install AngularCLI :
npm install -g @angular/cli
- Inside the Front folder :
npm install
to install the required node modules - Launch with
ng serve -o
- Install a database management system (example : PostgreSQL)
- Create a database (example pgAdmin)
- See the parameters to config your database in the file
application.properties
- See the parameters to config your database in the file
- Install Tomcat
- Add a tomcat server (easily done with Eclipse)
- Launch server (tables should be created by Tomcat)
- Add data to the database :
-
Install Postman
-
Send a Post request (go to data : Row > JSON) to
http://localhost:8080/benks/api/rates/addRates
within the body add the JSON from below :JSON Loan rates
[ { "rateValue": 0.65, "categorie": "A", "valMin": -1, "valMax": 10000, "dureeMin": -1, "dureeMax": 30, "rateName": "T1" }, { "rateValue": 0.34, "categorie": "A", "valMin": -1, "valMax": 10000, "dureeMin": 30, "dureeMax": 3000, "rateName": "T2" }, { "rateValue": 0.34, "categorie": "A", "valMin": 10000, "valMax": 999999999, "dureeMin": -1, "dureeMax": 24, "rateName": "T2" }, { "rateValue": 0.45, "categorie": "A", "valMin": 10000, "valMax": 999999999, "dureeMin": 24, "dureeMax": 3000, "rateName": "T3" }, { "rateValue": 0.45, "categorie": "B", "valMin": -1, "valMax": 15000, "dureeMin": -1, "dureeMax": 18, "rateName": "T3" }, { "rateValue": 0.21, "categorie": "B", "valMin": -1, "valMax": 15000, "dureeMin": 18, "dureeMax": 36, "rateName": "T4" }, { "rateValue": 0.44, "categorie": "B", "valMin": -1, "valMax": 15000, "dureeMin": 36, "dureeMax": 3000, "rateName": "T5" }, { "rateValue": 0.44, "categorie": "B", "valMin": 15000, "valMax": 25000, "dureeMin": -1, "dureeMax": 24, "rateName": "T5" }, { "rateValue": 0.74, "categorie": "B", "valMin": 15000, "valMax": 25000, "dureeMin": 24, "dureeMax": 3000, "rateName": "T6" }, { "rateValue": 0.74, "categorie": "B", "valMin": 25000, "valMax": 9999999, "dureeMin": -1, "dureeMax": 3000, "rateName": "T6" } ]
-
- 2019/12/04 : Initialisation
- 2019/12/18 : v1.00