Skip to content

firestore4k

Firestore Client for Kotlin JVM with strict (and relaxed) type-system.
Inspired by Kotlin Path API, where div / symbol is overloaded to express file path.

GCP Firestore client for Kotlin + Gradle project.

Firestore is a NoSQL document-store (tree based) database-as-a-service from Google Cloud Platform.

API in two flavors:

  • Dynamic -> Flexible dynamic API with relaxed type checks for DB schema.
  • Typed -> Typed-API with type safety for DB schema.

Warning

Experimental

For Typed API, you can optionally use annotations along with KSP (Kotlin Symbol Processing) to autogenerate some boilerplate code.