Your rulebook.
A production Postgres backend.
pg-rulebook reads your effortless-rulebook.json and derives a complete, deterministic Postgres backend: tables, functions, views, and Row-Level Security. One command. No manual SQL.
Free to use. Commercial licenses for companies running many projects at once, and for large organizations.
$ effortless build
→ reading effortless-rulebook.json
→ schema derived (38 tables, 24 FK constraints)
→ functions derived (94 postgres functions)
→ views derived (38 vw_* views)
→ rls derived (row-level security policies)
→ migrations derived (diff-based SQL)
Build complete.
What Gets Generated
Schema & Migrations
Tables, columns, constraints, indexes. A diff-based migration SQL file every time you rebuild.
Postgres Functions
Calculated fields, aggregations, business rules: all derived logic from the rulebook implemented as deterministic SQL functions at the Postgres layer.
vw_* Views
One view per table, joining base data with all derived columns. Your app reads from views, never raw tables.
Row-Level Security
RLS policies derived directly from the rulebook. Access control that stays in sync with your schema.
Pricing
