Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/erebelo/spring-neptune-demo
- Owner: erebelo
- License: mit
- Created: 2024-06-27T22:02:09.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2024-11-13T16:02:08.000Z (7 days ago)
- Last Synced: 2024-11-13T16:37:06.317Z (7 days ago)
- Topics: back-end, backend, backend-api, backend-service, graph-database, java, neptune, spring, spring-boot, springboot, tinkergraph, tinkerpop
- Language: Java
- Homepage:
- Size: 318 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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)