Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/erebelo/spring-neptune-demo

Java REST API project using Spring Boot 3, Neptune and TinkerGraph database
https://github.com/erebelo/spring-neptune-demo

back-end backend backend-api backend-service graph-database java neptune spring spring-boot springboot tinkergraph tinkerpop

Last synced: 4 days ago
JSON representation

Java REST API project using Spring Boot 3, Neptune and TinkerGraph database

Awesome Lists containing this project

README

        

# Spring Neptune Demo

REST API project developed in Java using Spring Boot 3, Neptune and TinkerGraph database.

## Requirements

- Java 17
- Spring Boot 3.x.x
- Apache Maven 3.8.6

## Libraries

- [spring-common-parent](https://github.com/erebelo/spring-common-parent): Manages the Spring Boot version and provide common configurations for plugins and formatting.

## Run App

- Set the following environment variables if running the project for a spring profile other than `local`: `AWS_REGION`, `AWS_NEPTUNE_ENDPOINT`, `AWS_NEPTUNE_PARTITION_KEY`, and `AWS_NEPTUNE_PARTITION_NAME`.
- Use the application property `aws.neptune.embedded` to switch between Neptune and TinkerGraph database.
- Run the `SpringNeptuneDemoApplication` class as Java Application.

## DB Preview

- Hit [Graph Data](http://localhost:8080/spring-neptune-demo/graph/data) to view the graph json data
- Hit [Graph Viewer](http://localhost:8080/spring-neptune-demo/index.html) to view the graph vertex/edge representation

## Collection

[Project Collection](https://github.com/erebelo/spring-neptune-demo/tree/main/collection)

## Diagram

[Entity Relationship Diagram](https://github.com/erebelo/spring-neptune-demo/tree/main/db/Entity%20Relationship%20Diagram.png)