Elide is a Java library that lets you stand up a GraphQL/JSON-API web service with minimal effort
Java Groovy Other
Clone or download
Permalink
Failed to load latest commit information.
elide-annotations [maven-release-plugin] prepare for next development iteration Jul 13, 2018
elide-contrib [maven-release-plugin] prepare for next development iteration Jul 13, 2018
elide-core [maven-release-plugin] prepare for next development iteration Jul 13, 2018
elide-datastore [maven-release-plugin] prepare for next development iteration Jul 13, 2018
elide-example [maven-release-plugin] prepare for next development iteration Jul 13, 2018
elide-graphql [maven-release-plugin] prepare for next development iteration Jul 13, 2018
elide-integration-tests [maven-release-plugin] prepare for next development iteration Jul 13, 2018
elide-standalone [maven-release-plugin] prepare for next development iteration Jul 13, 2018
travis Added more paths to generated output Jan 4, 2017
.codacy.yml Started skeleton for graphql support Aug 30, 2017
.gitignore Start on making structure Jan 4, 2017
.travis.yml Configure jacoco and coveralls. (#659) May 10, 2018
CONTRIBUTING.md Contributing document and Code Style May 31, 2016
LICENSE.txt Initial commit. Oct 13, 2015
Makefile Initial commit. Oct 13, 2015
README-zh.md Configure jacoco and coveralls. (#659) May 10, 2018
README.md Configure jacoco and coveralls. (#659) May 10, 2018
changelog.md Make path normalization portable Jul 13, 2018
checkstyle-style.xml chore: Update headers and supporting files Mar 31, 2016
checkstyle-suppressions.xml Perform check style Oct 16, 2015
elide-intellij-codestyle.xml Contributing document and Code Style May 31, 2016
graphql-elide.md Started skeleton for graphql support Aug 30, 2017
java.header Add "NOT" op to FilterExpressionCheck (#502) Jul 26, 2017
pom.xml [maven-release-plugin] prepare for next development iteration Jul 13, 2018
xml.header Perform check style Oct 16, 2015

README.md

Gitter Build Status Maven Central Coverage Status

Elide Logo

Read this in other languages: 中文.

What Is Elide?

Elide provides opinionated APIs for web & mobile applications. Elide is a Java library that lets you set up a GraphQL or JSON API web service with minimal effort starting from a JPA annotated data model.

Security Comes Standard

Control access to fields and entities through a declarative, intuitive permission syntax.

Mobile Friendly APIs

JSON-API & GraphQL lets developers fetch entire object graphs in a single round trip. Only requested elements of the data model are returned. Our opinionated approach for mutations addresses common application scenarios:

  • Create a new object and add it to an existing collection in the same operation.
  • Create a set of related, composite objects (a subgraph) and connect it to an existing, persisted graph.
  • Differentiate between deleting an object vs disassociating an object from a relationship (but not deleting it).
  • Change the composition of a relationship to something different.
  • Reference a newly created object inside other mutation operations.

Filtering, sorting, and pagination are supported out of the box.

Atomicity For Complex Writes

Elide supports multiple data model mutations in a single request in either JSON-API or GraphQL. Create objects, add them to relationships, modify or delete together in a single atomic request.

Persistence Layer Agnostic

Elide is agnostic to your particular persistence strategy. Use an ORM or provide your own implementation of a data store.

Schema Introspection

Explore, understand, and compose queries against your Elide API through generated Swagger documentation or GraphQL schema.

Customize

Customize the behavior of data model operations with computed attributes, data validation annotations, and request lifecycle hooks.

Documentation

More information about Elide can be found at elide.io.

Development

If you are contributing to Elide using an IDE, such as IntelliJ, make sure to install the Lombok plugin.

Tutorials

Create a JSON API REST Service With Spring Boot and Elide

Custom Security With a Spring Boot/Elide Json API Server

Logging Into a Spring Boot/Elide JSON API Server

Securing a JSON API REST Service With Spring Boot and Elide

Creating Entities in a Spring Boot/Elide JSON API Server

Updating and Deleting with a Spring Boot/Elide JSON API Server

License

Elide is 100% open source and released under the commercial-friendly Apache License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0.html).