Skip to content
Snippets Groups Projects
Commit 4cb98a38 authored by Maciej Szarlinski's avatar Maciej Szarlinski
Browse files

README - starting services locally

parent 39e865f4
No related branches found
No related tags found
No related merge requests found
# Distributed version of the Spring PetClinic Sample Application built with Spring Cloud [![Build Status](https://travis-ci.org/spring-petclinic/spring-petclinic-microservices.svg?branch=master)](https://travis-ci.org/spring-petclinic/spring-petclinic-microservices/)
## Starting services locally
Every microservice is a Spring Boot application and can be started locally using IDE or `mvn spring-boot:run` command. Please note that supporting services (Config and Discovery Server) must be started before any other application (Clients, Vets, Visits and API).
If everything goes well, you can access the following services at given location:
* Discovery Server - http://localhost:8761
* Config Server - http://localhost:8888
* AngularJS frontend (API Gateway) - http://localhost:8080
* Clients, Vets and Visits Services - random port, check Eureka Dashboard
## Understanding the Spring Petclinic application with a few diagrams
<a href="https://speakerdeck.com/michaelisvy/spring-petclinic-sample-application">See the presentation here</a>
......@@ -48,9 +56,9 @@ File -> Import -> Maven -> Existing Maven project
## Client-side Architecture
Compared to the [standard Petclinic based on JSP pages](https://github.com/spring-projects/spring-petclinic),
this SpringBoot AngularJS Petclinic is splitted in 2 modules - a client module and a server module:
this ~~SpringBoot AngularJS Petclinic is splitted in 2 modules - a client module and a server module~~:
* springboot-petclinic-client : static resources (images, fonts, style, angular JS code) packaged as a webjar.
* springboot-petclinic-server : Spring MVC REST API and an index.html template
* ~~springboot-petclinic-server : Spring MVC REST API and an index.html template~~
## Looking for something in particular?
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment