Important Note In the SonarQube report you will find Idenity MS not pass. the becouse i used H2 Database with data.sql default records. to insert test users. and also (2 Vulnerabilities) that becouse i used some way to ecnypt accounts number.
- Spring boot freamework
- Spring Cloud OpenFeign
- Spring Cloud Gateway (API Gateway)
- Eureka server
- Mapstruct
The below table will describe the microservices and ports.
Port | Service |
---|---|
6379 | API-Gateway |
8761 | EUREKA-SERVER |
8080 | Idenity |
9999 | Account |
7777 | Statement |
- API-Gateway, used to manage requests and security
- EUREKA-SERVER or Naming-Service, manage services, load balancing, monitor service, and let services communicate with each other through service name
- Idenity, used to manage user login, logout, and validate token.
- Account, used to manage accounts.
- Statement, to manage user accounts and bank statement.
To run microservice that you can run it direct from any java compiler.
You can setup this param by the compiler or using java command line: By complier (VM Options) :
-Dspring.profiles.active=local
By command line:
java -jar -Dspring.profiles.active=local jar-file-name.jar
Not need to apache to run it. just click on index.html from anywhere. and the API-gateway should be run it on 6379 port.
First run the below mvn:
mvn clean org.jacoco:jacoco-maven-plugin:prepare-agent install
then
mvn sonar:sonar
The frontend techlogies : HTML5, CSS3, Javascript, JQuery,Ajax, and Bootstrap. You can use front-end direct from folder project tree-project, click on index.html and enter user details:
Username | Password |
---|---|
admin | admin |
user | user |