This assignment have front-end and back-end application.Log4j2 is integrated with all modules and logback excluded.
- server port 8761
- To Run application:
mvn spring-boot:run
To access Eureka dashboard: [http://localhost:8761/]
- server port 8080
- To Run application:
mvn spring-boot:run
- To Enable Async logging for all loggers:
mvn spring-boot:run -DLog4jContextSelector=org.apache.logging.log4j.core.async.AsyncLoggerContextSelector
Greetings: [http://localhost:8080/greeting]
Health check: [http://localhost:8080/actuator/health]
Show all the metrics: [http://localhost:8080/actuator/metrics]
Build Docker:
docker build -f Dockerfile -t stakater-backend-application-0.0.1-SNAPSHOT
- server port 8081
- To Run application:
mvn spring-boot:run
Index: [http://localhost:8081/ OR http://localhost:8081/welcome]
Health check: [http://localhost:8081/actuator/health]
Show all the metrics: [http://localhost:8081/actuator/metrics]
Command to build the docker image:
docker build -f Dockerfile -t stakater-frontend-application-0.0.1-SNAPSHOT
List Docker images:
docker images
- almost 6 hours consumed to implement this modules.