mcicolella / restheart-examples

Examples on how to extend RESTHeart v5 with Java plugins.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

RESTHeart v5 examples

GitHub last commit Build

RESTHeart is the REST API for MongoDB. With RESTHeart you can easily access MongoDB via a REST API, but it's also possible to create any kind of custom Web service.

This repository provides examples on how to extend RESTHeart v5 with Java or Kotlin plugins.

The parent POM defines common properties while each module implements a single example.

The only required Maven dependency for building Java plugins is restheart-commons:

<dependency>
    <groupId>org.restheart</groupId>
    <artifactId>restheart-commons</artifactId>
    <version>Tag</version>
</dependency>

You can use this repository as a foundation for implementing your own plugins.

Setup

You need both JDK 11+ and Maven to build and run this example.

  • Clone this repo git clone git@github.com:SoftInstigate/restheart-examples.git.
  • cd into the restheart-examples folder.
  • Download RESTHeart.
  • Uncompress it: unzip restheart.zip or tar -xvf restheart.tar.gz.
  • cd into each module folder for specific instructions.

Modules

About

Examples on how to extend RESTHeart v5 with Java plugins.


Languages

Language:Java 91.9%Language:Shell 5.1%Language:Kotlin 3.0%