Skip to content

TBDM-Project/JanusGraph-API-example

Repository files navigation

JanusGraph API example

Table of Contents
  1. About The Project
  2. Getting Started
  3. Usage
  4. Contact
  5. Acknowledgements

About The Project

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.

Built With

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.

Getting Started

Prerequisites

  • 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.

Installation

  1. 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
  2. Inside the JanusGraph directory, start the JanusGraph-server
    ./bin/janusgraph-server.sh start
  3. Clone the repo
    git clone https://github.com/TBDM-Project/JanusGraph-API-example.git
  4. Inside JanusGraph-API-example directory install Maven dependencies
    mvn install
  5. Run the project
    mvn spring-boot:run

Usage

Import the Postman-collection present in the project in your Postman testing tool and run requests.

My Image

Contact

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

Acknowledgements

About

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 Master degree of University of Camerino.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages