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 Mangement 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.
-
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/damiano00/ApiAssetJanus.git
- 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 - [email protected]
Luca Mozzoni - [email protected]
Damiano Pasquini - [email protected]
Project Link: https://github.com/damiano00/ApiAssetJanus