Skip to content

providing a simple app to track user movie ratings with java spring, using micro-services architecture (communicating through REST-API) with auto discovery (eureka) and fault tolerance (hystrix)

License

Notifications You must be signed in to change notification settings

vicmar57/GoodMovs---spring-microservices-movie-ratings

Repository files navigation

Spring microservices movie ratings

providing a simple app to track user movie ratings with java spring, using micro-services architecture (communicating through REST-API) with auto discovery (eureka) and fault tolerance (hystrix).

Basically, the main service, movie-catalog-service, gets a request from the user, to get its' saved movies and user ratings for these movies. movie-catalog-service queries ratings-data-service for user ratings, and movie-info-service for movie details, via REST-API. It then combines the results, outputting the movies the user has watched and rated.

The microservice architecture uses Auto-discovery via Eureka, through another microservice, and combines mechanisms for fault tolerance and resilliance (Hystrix).

Micro-service system architecture: Alt text

Usage

  1. run all microservices (Either by making a jar out of each one and running, or importing the projects to an IDE an running them).
  2. query the system via Localhost:8081/catalog/user_id to get a specific user's movies.

Credits

credit to Koushik Kothagal and JavaBrains channel on Youtube.com on JavaBrains for the detailed course on Spring Boot Microservices.

About

providing a simple app to track user movie ratings with java spring, using micro-services architecture (communicating through REST-API) with auto discovery (eureka) and fault tolerance (hystrix)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages