Concepts
Minoro reads your backend code to generate an admin UI, allowing you to manage your data without writing any frontend code.
This allows you to focus on your business logic and data access layer, while Minoro takes care of the UI.
Building an admin UI is a complex task, and Minoro aims to simplify this process by providing a set of concepts that allow you to build your admin UI in a consistent and efficient way.
Views
Views are the most important part of Minoro, they are used to display other types of content such as the ones below. They are displayed in the sidebar and can be used to navigate to different pages in the admin panel.
In a traditional CRUD style admin panel, you would have views such as "All Posts", "Create Post" and "Edit Post".
Views contain elements that are used to actually display content in them.
View elements
Forms
Forms are used to create or edit content in Minoro, you can define forms to do virtually anything from calling your own API, saving to a DB and much more.
Datatables
Datatables are used to display lists of content in a table format, they can be used to display any type of data.
Buttons
Buttons are used to perform actions in Minoro, they can be used to navigate, call APIs, or perform any other action you can think of.
Galleries
Galleries are used to display assets such as images, videos and files in a grid format. They allow you to upload and delete assets, which can then be used in other views such as forms.
Texts
The most simple of view elements, texts are used to display static content in your views. They support markdown content which is automatically rendered in the admin panel.