Skip to content

pamatteo/customers-stores

 
 

Repository files navigation

REST based micro-services sample

  • Three Spring Boot based Maven projects that are standalone applications:
    • Stores (MongoDB, exposing a few Starbucks shops across north america, geo-spatial functionality)
    • Customers (JPA)
    • Customers UI (Angular and Spring Boot CLI backend)
  • The customers application tries to discover a search-by-location-resource and periodically verifying it's still available (see StoreIntegration).
  • If the remote system is found the customers app includes a link to let clients follow to the remote system and thus find stores near the customer.
  • Hystrix is used to monitor the availability of the remote system, so if it fails to connect 20 times in 5 seconds (by default) the circuit will open and no more attempts will be made until after a timeout.

Running Instructions

About

Two microservices for customers and stores

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • ApacheConf 35.6%
  • Java 19.9%
  • JavaScript 19.7%
  • HTML 19.4%
  • CSS 4.9%
  • Groovy 0.3%
  • Shell 0.2%