Ruby apps that grow with you
open sourceMITself-hostablefree
Hanami is a Ruby web framework designed to keep code organised and maintainable as an app grows: separated concerns, explicit business logic and a modular architecture. It has a dedicated database layer, where relations define data access, repos compose them for business logic and structs are value objects, and slices draw clear boundaries between subdomains, each self-contained. You choose how much framework to use, removing or swapping parts in the Gemfile, to build full-stack web apps, lean APIs or stream processors. It's maintained by the Hanakai community alongside the Dry and Rom libraries.
Problems it solves
- a Ruby web framework that keeps a large app maintainable
- an alternative to Rails with clearer boundaries between parts of my app
- build a lean JSON API in Ruby
- split a Ruby app into modules with explicit dependencies
Features
- dedicated database layer with relations, repos and structs
- slices for subdomain boundaries
- modular, swap or remove parts
- full-stack apps, APIs or stream processors
Alternatives
The same job
These do what Hanami does.
- Ruby on Rails Accelerate your agents with convention over configuration.