Skip to content

This assignment have front-end and back-end application. Implemented by using spring-boot, spring-cloud, Eureka server-client, Log4j2 and Thymeleaf.

Notifications You must be signed in to change notification settings

bilal966/stakater-assignment

Repository files navigation

⚡ stakater-assignment

This assignment have front-end and back-end application.Log4j2 is integrated with all modules and logback excluded.

GitHub repo size GitHub pull requests GitHub Repo stars GitHub last commit

Stakater Service Registery - Eureka

  • server port 8761
  • To Run application:
mvn spring-boot:run

To access Eureka dashboard: [http://localhost:8761/]

Stakater Backend Service

  • 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
JUnuit Test coverage : 91.5%

Endpoints Exposed :

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

Stakater Frontend Service

  • server port 8081
  • To Run application:
mvn spring-boot:run

Endpoints Exposed :

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

Time to develop

  • almost 6 hours consumed to implement this modules.

About

This assignment have front-end and back-end application. Implemented by using spring-boot, spring-cloud, Eureka server-client, Log4j2 and Thymeleaf.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published