Skip to content

sgaraba/springbox

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. config-server

    2. discovery

    3. auth-server

    4. catalog

    5. reviews

    6. recommendations

    7. gateway

  5. Load data into the reviews DB by running reviews/scripts/loadReviews.sh.

  6. Load data into the recommendations DB by running recommendations/scripts/loadGraph.sh.

  7. Visit http://localhost:9000 and you should see something like the following:

Running with docker compose

Install docker and docker-compose

Compile project with maven tool;

mvn clean package

Run app:

docker-compose up -d

+ image::docs/homepage.png[]

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published