Skip to content
This repository has been archived by the owner on Oct 31, 2019. It is now read-only.

torsten-liermann/restheart

This branch is 812 commits ahead of, 4355 commits behind SoftInstigate/restheart:master.

Folders and files

NameName
Last commit message
Last commit date
Apr 23, 2018
Apr 11, 2018
Apr 24, 2018
Apr 29, 2018
May 2, 2017
Jan 27, 2016
Dec 7, 2017
Apr 8, 2018
Apr 11, 2018
Nov 16, 2014
Apr 12, 2018
Mar 3, 2015
Dec 3, 2015
Jun 30, 2017
Dec 7, 2017
Apr 21, 2018
Oct 27, 2015
Sep 25, 2015
Apr 23, 2018
Apr 29, 2018

Repository files navigation

RESTHeart

The Web API for MongoDB made with ❤️ by SoftInstigate

Build Status Docker Stars Docker Pulls Join the chat at https://gitter.im/SoftInstigate/restheart

Table of Contents

Summary

RESTHeart connects to MongoDB and opens data to the Web. Clients such as mobile and javascript apps can use the database via a simple RESTful API.

For more information, visit RESTHeart's website and documentation.

Setup

Refer to restheart.org/learn/setup for detailed information on how to setup RESTHeart.

How to Build

Building RESTHeart requires Maven.

Clone the repository and update the git submodules. RESTHeart includes the HAL browser as a submodule:

$ git submodule update --init --recursive

Build the project with Maven:

$ mvn clean package

Integration Tests

To run the integration test suite, first make sure that mongod is running on localhost, on default port 27017 and without authentication enabled — i.e. no --auth option is specified.

$ mvn verify -DskipITs=false

Alternatively, if you have Docker, execute the following script:

$ ./bin/integration-tests.sh 

The script starts a Docker container running MongoDB and then execute the integration tests with Maven. It will clean-up the container at the end.

Maven Dependencies

RESTHeart's releases are available on Maven Central.

Stable releases are available at:

https://oss.sonatype.org/content/repositories/releases/org/restheart/restheart/

If you want to embed RESTHeart in your project, add the dependency to your POM file:

<dependencies>
    <dependency>
        <groupId>org.restheart</groupId>
        <artifactId>restheart</artifactId>
        <version>3.2.2</version>
    </dependency>
</dependencies>

Snapshot Builds

Snapshots are available at Sonatype. If you want to build your project against a development release, first add the SNAPSHOT repository:

 <repositories>
    <repository>
         <id>restheart-mvn-repo</id>
         <url>https://oss.sonatype.org/content/repositories/snapshots</url>
         <snapshots>
             <enabled>true</enabled>
             <updatePolicy>always</updatePolicy>
         </snapshots>
    </repository>
 </repositories>

Then include the SNAPSHOT dependency in your POM:

<dependencies>
    <dependency>
        <groupId>org.restheart</groupId>
        <artifactId>restheart</artifactId>
        <version>3.3.0-SNAPSHOT</version>
    </dependency>
</dependencies>

We continually deploy development releases to Maven Central with Travis-CI.


Made with ❤️ by SoftInstigate. Follow us on Twitter.

About

RESTHeart, the Web API for MongoDB

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 99.7%
  • Shell 0.3%