Skip to content

Code Generator

Pick a table, configure fields, generate CRUD backend + frontend. Console entry: "System → Code Generator".

Three modes

ModeForOutput
Single tablePlain entitiesStandard list page + drawer form + CRUD API
Tree tableHierarchies (departments, categories)Tree grid, parent picker, recursive API
Master-detailOrder-plus-lines style 1:NInline detail editing, transactional save

Flow

  1. Pick a table (reflected from the database — write your migration first).
  2. Configure fields: label, widget type, list/search/required flags.
  3. Preview or download a zip and drop files into place.

The current implementation provides file previews and ZIP downloads; it does not write directly into the current repository. You still need to wire routes, menus, permissions and migrations as described in Extending.

Generated code follows every house convention (response envelope, pagination, tenant_id, permission codes) — compliant by construction.

MIT Licensed · Open-source Go microservices admin scaffold