This repository contains the code for a small project that was built to support a Medium article.
To run all the services and infrastructure just run:
$ ./init.sh
It may take a while because all the gradle dependencies need to be downloaded and the source code compiled.
After the script has finished, the API Gateway should be exposed at port 8090
.
You can check that by running:
$ curl http://localhost:8090/__health
{"status":"OK"}
-
Open the postman collection and try to make some requests.
-
You can then go to Kafka's Landoop UI to check if messages have arrived to
people-db.people.outbox
andmovies-db.movies.outbox
topics.
- To check that the information is persited in Neo4j, go to Neo4j Browser
- Connect URL:
bolt://localhost:7687
- Authentication type:
Username / Password
- Username:
neo4j
- Password:
HNxzZk7GBNcKv5kW
- Connect URL:
And run the following query
MATCH (n) RETURN n LIMIT 35
It should return some nodes and edges.
Example:
-
- Username:
admin
- Password:
admin
- Username: