Skip to content

Projet de groupe fin de formation Développeur Java Full Stack

Notifications You must be signed in to change notification settings

borisBelloc/CreditAuto

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Projet de groupe fin de formation Développeur Java Full Stack

Resources

Stars

Watchers

Forks

Packages

No packages published