foundry-rs 0.1.3

Configuration-driven REST backend library for Rust with PostgreSQL — define schemas, tables, and APIs in JSON, get a production-grade REST service.
Documentation
[
  {
    "entity_id": "tbl_users",
    "path_segment": "users",
    "operations": ["create", "read", "update", "delete", "bulk_create", "bulk_update"],
    "sensitive_columns": ["email"],
    "validation": {
      "email": { "required": true, "format": "email", "max_length": 255 },
      "id": { "format": "uuid" }
    }
  },
  {
    "entity_id": "tbl_orders",
    "path_segment": "orders",
    "operations": ["create", "read", "update", "delete", "bulk_create", "bulk_update"],
    "sensitive_columns": [],
    "validation": {
      "status": { "allowed": ["pending", "confirmed", "shipped", "cancelled"] },
      "user_id": { "required": true, "format": "uuid" }
    }
  }
]