Think from the response up, not the database down.
Mosaic is a Kotlin framework that transforms backend development through composable tiles that automatically handle caching, concurrency, and dependency resolution. Build complex responses by composing simple, testable pieces.
🚀 Why Mosaic?
🧩 Type-Safe Composition : Compile-time guarantees for all your data dependencies
: Compile-time guarantees for all your data dependencies ⚡ Zero Duplication : Call the same tile from anywhere - it fetches only once
: Call the same tile from anywhere - it fetches only once 🔄 Out-of-the-Box Concurrency : Automatic parallel execution without the complexity
: Automatic parallel execution without the complexity 🧪 Natural Testability : Mock any tile, test in isolation
: Mock any tile, test in isolation 📦 Response-First Design: Build what you need, not how to get it
🏁 Quick Start
Installation
... continue reading