Skip to content

Spring boot starter for use ArangoDB in a Spring way easily.

License

Notifications You must be signed in to change notification settings

ganchix/arangodb-spring-boot-starter

Repository files navigation

Spring boot starter ArangoDB Build Status codecov Maven Central GitHub stars

Spring boot starter for use ArangoDB in a Spring Boot way.

Table of Contents

Overview

This implementation offers a way to use ArangoDB Spring data framework like a spring boot starter project.

Getting started

Add dependency

<dependency>
    <groupId>io.github.ganchix</groupId>
    <artifactId>arangodb-spring-boot-starter</artifactId>
    <version>1.0.1</version>
</dependency>

Code example

Start your ArangoDB database, for example:

docker run -p 8529:8529 -e ARANGO_ROOT_PASSWORD=openSesame arangodb/arangodb:3.3.5

Create your spring boot project and add the dependency, configure in the properties file your database, you can see ArangoProperties to check all options available.

Example:

spring.data.arangodb.password=openSesame
spring.data.arangodb.database-name=test

And you can create your domain classes and repositories following the Spring Data Arangodb instructions

License

Spring boot starter ArangoDB is licensed under the MIT License. See LICENSE for details.

Copyright (c) 2018 Rafael Ríos Moya