Every application can be executed independently, but to test them together make the build process in the following order:
- service-registration (load balancing and failover).
- api-gateway (routing api requests).
- complaint-service (api with services about complaints).
We have 2 ways to run the applications:
Running from IDE: Run the main method inside Application classes. Running from command line: mvn spring-boot:run (use -Dspring.profiles.active=“cloud” with complaint-service when testing all applications together). Running tests: mvn test
The example of API requests can be found in complaints.txt with your endpoints.
Language: Java 8 Framework: Spring Framework (Boot and Data-REST) Dependency management: Maven Database: MongoDB CI-Tools: Docker Travis-CI