Skip to content

Latest commit

 

History

History
70 lines (51 loc) · 1.98 KB

README.md

File metadata and controls

70 lines (51 loc) · 1.98 KB

Docker, Groovy, Microservices, Spring Cloud, Spring Boot, React, Angular, H2, Hibernate, Liquibase

Microservice Arhitecture

The application structure is as follows.

  • admin-server - Microservice implemented using Spring Admin Server. More info
  • config-server - Microservice implemented using Spring Config Server. More info
  • eureka-discovery-service - Microservice implemented using Spring Eureka. More info
  • zuul-gateway-service - Microservice implemented using Spring Zuul. More info
  • user-management-service - Microservice implemented using Spring boot. More info
  • react-client - A NodeJs application implemented using React. This consumes services hosted by server side. More info
  • angular-client - A NodeJs application implemented using Angular. This consumes services hosted by server side. More info

Build

1) Build Spring Boot microservices

$ cd microservices path
$ mvnw clean install
$ mvnw spring-boot:run

2) Build and run client side application

React

$ cd react-client
$ yarn install
$ yarn start

Angular

$ cd angular-client
$ npm install
$ ng serve

Access application using following URL

React

http://localhost:3000

Angular

http://localhost:4200

Performance / Load tests

Test structure is as follows.

  • perf-test - A Apache JMeter test plan designed to load test functional behavior and measure performance. More info

Docker

1) Build all modules and docker images

mvnw clean deploy -P docker

2) Run docker

docker-compose up -d