This project has Game-map demostration using Graph database with Neo4J and JNoSQL
Recommendation system using Java EE 8 and Neo4J with JNoSQL.
Neo4j is a graph database management system developed by Neo4j, Inc. Described by its developers as an ACID-compliant transactional database with native graph storage and processing, Neo4j is the most popular graph database according to DB-Engines ranking.
- Install docker: https://www.docker.com/
- https://store.docker.com/images/neo4j
- Run docker command
docker rm -f neo4j || true && docker run -d --name neo4j -p 7474:7474 -p 7687:7687 -v $HOME/neo4j/data:/data neo4j
- configure Neo4J http://localhost:7474 - The default initial password is "neo4j". Set it to "admin".
mvn clean package
- Adds it in a Java EE 8 server
curl -H "Content-Type: application/json" -X POST -d '{"owner":"Leonardo Lima","doorDescription":{"east":"East description","south":"south description","north":"north description","west":"West description"},"name":"main_room","fullName":"main room full name"}' http://localhost:8080/gameon-map-0.0.4/resource/sites/
curl -H "Content-Type: application/json" -X POST -d '{"owner":"Leonardo Lima","doorDescription":{"east":"East description","south":"south description","north":"north description","west":"West description"},"name":"second_room","fullName":"the second room full name"}' http://localhost:8080/gameon-map-0.0.4/resource/sites/
curl -H "Content-Type: application/json" -X POST -d '{"owner":"Leonardo Lima","doorDescription":{"east":"East description","south":"south description","north":"north description","west":"West description"},"name":"third_room","fullName":"the third room full name"}' http://localhost:8080/gameon-map-0.0.4/resource/sites/
curl -GET localhost:8080/gameon-map-0.0.4/resource/sites/main_room
curl -GET localhost:8080/gameon-map-0.0.4/resource/sites/second_room
curl -GET localhost:8080/gameon-map-0.0.4/resource/sites/thid_room
curl -GET localhost:8080/gameon-map-0.0.4/resource/sites/main_room/north
curl -GET localhost:8080/gameon-map-0.0.4/resource/sites/main_room/south
curl -GET localhost:8080/gameon-map-0.0.4/resource/sites/second_room/south
curl -GET localhost:8080/gameon-map-0.0.4/resource/sites/third_room/north