Table of Contents
Simple REST API implementation to query an instance of JanusGraph grpah database, using Cassandra as backend storage database. A the result for the project of Technologies for Big Data Management exam in the Computer Science degree of University of Camerino.
This section should list any major frameworks that you built your project using. Leave any add-ons/plugins for the acknowledgements section. Here are a few examples.
-
Linux system or WLS(Windows Subsystem Linux) required
-
Docker Installation
See Docker get started.
-
Download Cassandra image
docker pull cassandra
-
JanusGraph local installation
Download JanusGraph distribution from JanusGraph website and unzip it.
- Start Cassandra container
docker run -d -p 7001:7001 -p 7199:7199 -p 9042:9042 -p 9160:9160 \ -v /var/lib/cassandra:/var/lib/cassandra \ -e CASSANDRA_START_RPC=true \ --name cass cassandra
- Inside the JanusGraph directory, start the JanusGraph-server
./bin/janusgraph-server.sh start
- Clone the repo
git clone https://github.com/TBDM-Project/JanusGraph-API-example.git
- Inside JanusGraph-API-example directory install Maven dependencies
mvn install
- Run the project
mvn spring-boot:run
Import the Postman-collection present in the project in your Postman testing tool and run requests.
Niccolò Francioni - niccolo.francioni@studenti.unicam.it
Luca Mozzoni - luca.mozzoni@studenti.unicam.it
Damiano Pasquini - damiano.pasquini@studenti.unicam.it
Project Link: https://github.com/TBDM-Project/JanusGraph-API-example
