3
1 Comment

SaasRock Update - Autogenerated API docs, Code generator, View Manager, Row Hooks, and more

May was focused on a ton of improvements (mainly for the ​Entity Builder​):

  • Autogenerated API Docs with Swagger (OpenAPI) and Postman
  • Code Generator support for new types (Multi-select, Range-number...)
  • ⭐ New Entity View Manager at /admin/entities/views
  • ⭐ New Subscriptions page at /admin/accounts/subscriptions
  • Row Hooks: Added functions to customize your BL (onBeforeGetAll, onBeforeEdit, onAfterEdit...)

And other minor fixes:

  • 🔨 Yes-Code: Multi-select missing in generated files #304
  • 🔨 Multi-select attribute not added to Yes-Code Helper #302
  • 🔨 Row Form Number Input cannot clear #303
  • 🔨 Footer Block needs translations #272
  • 🔨 Edit entity gives the wrong path... #268
  • 🔨 ActionResultModal no way to set title #264

Links:

---

What's Next?

I've said this many times, but hopefully this month I can pull any of these:

  • Knowledge Base (intercom-like help center, ​preview​)
  • Help Desk - Enterprise 🚀 _(accounts submit tickets)
  • Affiliates & Referrals - Enterprise 🚀 (create affiliate links to track signups/commissions)

Let me know what you think of these improvements on the ​Discord server​!

, Founder of Icon for SaasRock
SaasRock
on June 3, 2023
  1. 1

    Love the autogenerated API docs with Swagger – that's a huge time saver. I'm building in a similar space (TrendyRevenue, AI idea validation for founders) and recently had to implement API docs for my own analytics endpoints. Manually writing OpenAPI specs is painful, so seeing this baked into the entity builder is smart.

    The code generator supporting multi-select and range-number – are you generating frontend components too (like React hooks for forms) or just backend models? I've been wrestling with keeping frontend types in sync with backend schemas. Curious how SaasRock handles that.

    Also, Row Hooks for customizing business logic – onBeforeGetAll, onAfterEdit etc. – this is exactly what I needed when building TrendyRevenue's subscription tiers logic. Ended up writing middleware manually. Wish I had this.
    Great update. Following the project