Skip to content

Getting started

A Fabrio service starts from a Rialto contract: the types, the operations, the mappings, the storage and the sources (OpenAPI, AsyncAPI, SQL migrations) the contract refers to. Fabrio is a Rialto generator: it generates what lies between the HTTP request and the database, and you write the rules and the service.

This page grows with the slices. The first profile that generates code, domain and mapping (slice 1), adds the build setup; until then, Fabrio JVM has no published generator or plugin.

Every Fabrio module has the same version. Import the BOM and leave the versions of the modules out. Snapshots (-SNAPSHOT) are on Repsy:

settings.gradle.kts
dependencyResolutionManagement {
repositories {
mavenCentral()
maven("https://repo.repsy.io/mvn/buijs-dev/maven") // snapshots only
}
}
build.gradle.kts
dependencies {
implementation(platform("dev.buijs.fabrio:fabrio-bom:1.0.0-SNAPSHOT"))
}