An in-memory embedded database with persistence and multiple adapters (JSON, CSV, etc). Acts like a minimalistic ORM with zero setup. Simple, lightweight, and perfect for prototypes, small apps, or experiments. Not intended for serious production use, optimized for nothing but ergonomics.
Get started
Install prerequisites:
cargo install serde --features derive
cargo install joydb --features json
Example:
use ;
use ;
// Define the state by listing the models
state!
// Define your the database.
// Typewise it's essentially combination of the state and adapter.
type Db = ;