Skip to content
Projet de groupe fin de formation Développeur Java Full Stack
Java TypeScript HTML CSS JavaScript
Branch: develop
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
back
conception
front
.gitignore
README.md
package-lock.json

README.md

Projet Crédit Auto

Technos :

Run the project

Development
Front :
  • 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
Back :
  • Install a database management system (example : PostgreSQL)
  • Create a database (example pgAdmin)
    • See the parameters to config your database in the file application.properties
  • 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"
           }
       ]

Changelog

  • 2019/12/04 : Initialisation
  • 2019/12/18 : v1.00
You can’t perform that action at this time.