This is an example of Java-Based Microservices with Spring Boot, Spring Cloud and Docker. Each of the services run with separate, dedicated Mongo database.
- Java EE 8
- Angular 2
- Microservice Architecture Pattern
- Spring Boot
- Spring Cloud
- Spring Security / Auth0 / JWT
- Spring Data JPA
- Docker
- REST
- Json
- Maven
- Install Docker and Docker Compose
- Export environment variables: export MONGODB_PASSWORD='MONGODB_PASSWORD' export CONFIG_SERVICE_PASSWORD='CONFIG_SERVICE_PASSWORD' export ACCOUNT_SERVICE_PASSWORD='ACCOUNT_SERVICE_PASSWORD' export MOVIE_SERVICE_PASSWORD='MOVIE_SERVICE_PASSWORD' export RENT_SERVICE_PASSWORD='RENT_SERVICE_PASSWORD'
- Run makedocker_local.sh
- Run docker-compose (docker-compose up > logz.log &)
- See logs (tail -f logz.log)
- Once all services are up and running go to localhost and create an account ;)
- http://localhost:80 - Gateway
- http://localhost:8761 - Eureka Dashboard
- http://localhost:9000/hystrix - Hystrix Dashboard (paste Turbine stream link on the form)
- http://localhost:8989 - Turbine stream (source for the Hystrix Dashboard)
- http://localhost:15672 - RabbitMq management (default login/password: guest/guest)