Skip to content

ursuad/springbox-cloud

 
 

Repository files navigation

SpringBox Reference Application

Running Locally

  1. Clone the repo.

  2. Import the root pom.xml into your favorite IDE or run mvn package.

  3. Download and install the following services:

    1. RabbitMQ

    2. MongoDB

    3. Neo4J Community Editioni - version 2.1.x - Cypher changes won’t make it possible to work with 2.2.x

  4. Either from the IDE or the command line (i.e. java -jar target/appname.jar), run the applications in the following order:

    1. springbox-config-server

    2. springbox-eureka

    3. springbox-auth-server

    4. springbox-catalog

    5. springbox-reviews

    6. springbox-recommendations

    7. springbox-api-gateway

  5. For the scripts to work, you need to install jq which is a sed-like tool for working with JSON data. You can find it [here](https://stedolan.github.io/jq/download/).

  6. Load data into the reviews DB by running springbox-reviews/scripts/loadReviews.sh.

    cd springbox-reviews/scripts/
    ./loadReviews.sh localhost 9999 localhost 8081
  7. Load data into the recommendations DB by running springbox-recommendations/scripts/loadGraph.sh.

    cd springbox-recommendations/scripts/
    ./loadGraph.sh localhost 9999 localhost 8082
  8. Visit http://localhost:9000 and you should see something like the following:

    homepage

About

Spring Cloud Reference Application

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 76.7%
  • Shell 9.7%
  • HTML 6.9%
  • JavaScript 6.7%