- jdk-11.0.1.jdk
- apache-tomcat-9.0.21
- apache-maven-3.6.1
- PostgreSQL 10
https://github.com/majidaDev/projet7_config
https://github.com/majidaDev/projet_7
- Run the script projet_7_biblio.sql in pgAdmin
You have to generate a package for each service we need (follow the order bellow)
- Open your console
- Go in the service file
- Do a : mvn clean install AND ./mvnw spring-boot:run (for each service and follow the order bellow)
- Go in your tomcat file (here apache-tomcat-9.0.21) with your console, go in bin/ and do : bash startup.sh
THE ORDER TO FOLLOW TO DEPLOY THE APPLICATION
Ordre | Microservice | server.port |
---|---|---|
1 | config-server | 9101 |
2 | eureka-server | 9102 |
3 | zuul-server | 9004 |
4 | mbook | 9090 |
5 | mperson | 9091 |
6 | client-ui | 9089 |
127.0.0.1:9089/
to test the two API createloan and updateLoan You have two requests in the collection file Postman p7.postman_collection.json