git clone git@github.com:mahfuzsust/springboot-microservice.git
cd springboot-microservice
cd eureka-server && ./gradlew build && cd ..
nohup java -jar eureka-server/build/libs/eureka-server-0.0.1-SNAPSHOT.jar &
cd book-service && ./gradlew build && cd ..
nohup java -jar book-service/build/libs/book-service-0.0.1-SNAPSHOT.jar &
cd rating-service && ./gradlew build && cd ..
nohup java -jar rating-service/build/libs/rating-service-0.0.1-SNAPSHOT.jar &
cd user-service && ./gradlew build && cd ..
nohup java -jar user-service/build/libs/user-service-0.0.1-SNAPSHOT.jar &
cd zuul-server && ./gradlew build && cd ..
nohup java -jar zuul-server/build/libs/zuul-server-0.0.1-SNAPSHOT.jar &
Default eureka port: 8761
Open a browser to go to http://localhost:8761Get all the books with the ratings for the user 2 (Test 2)
curl http://localhost:9999/api/rating-server/rating/get/user/2