ORM and GraphQL server for Java and PostgreSQL

Simplify working with relational data and creating network services. Loppi autogenerates code so you can have a GraphQL schema and database that you can use with type-safety.

Programmatically declare your GraphQL schema

Declare what tables, columns and relations you want to expose, how they are allowed to be ordered and filtered, and how they can be mutated. Fields that do not map directly to database tables can be declared as custom fields.

Only expose what is needed

Adding fields for querying your database is easy, and so is adding custom fields for everything else.

Add common query options with a single line

Relationships to join, where or orderBy expression, all with type-safety.

Everything you need in one endpoint

Maintain and secure a handful of fields instead of hundreds of enpoints.

Fetch the data you need in one request

With one schema there are many ways to query it. Fetch multiple root fields, their relations and their relations again. No need for several http requests to get the data for one page.

No overfetching

Don't call a large endpoint and discard most of the data, instead fetch exactly what you need and no more.

No N+1 queries

One root field, many root fields, relations, it doesn't matter; it's all fetched in one go.

One round-trip one transaction

From Loppi to the database, the query or mutation is executed in one round-trip and one transaction.

Generated code ensures type-safety

Have the compiler and IDE hold your hand while you are building your application. Instead of spending time writing mapping code, you get all the typing you need automatically from the schema.

Plain java business logic

Use the types generated to look at what is going on and apply your business logic in plain java.

Minimize runtime errors

Loppi makes most invalid state impossible to represent.

Developer-friendly API

Most objects are immutable and thread-safe, and method calls never accept or return null.

Prioritizing developer experience

Watch how simple it is to create an application from scratch.

Newsletter

Subscribe to our newsletter by sending
subject subscribe to newsletter@loppi.io or click here.

Unsubscribe by sending unsubscribe to the same address, or click on any of the unsubscribe links in the received mail.

Copyright © 2023 Fjell Software AS