Normally you would hard code the interface of your application. But with brainlowcode you just need to give a configuration. The platform creates the interface. Additionally, it provides source code of the interface for you.
Interface can be a web service, user interface (web and mobile) or message queue.
There are 3 kinds of user interfaces in a business application:
Form
Grid
Combination of forms and grids
Let's create a form for the database table we created.
Right click on table and select Table->CRUD Form.

Enter configurations and click SAVE.



You have created a form!
Now let's create a grid.
Right click on table and select Table->Query for Grids.



You have created a query!
Right click on query and select Query->Grid.


Click insert grid columns from query fields (arrow icon).

You have created a grid!
Now let's add the grid to a page.
Go to pages section and click new button. Enter page template name and click save.

Make sure Page->App Menu(preview) is ticked!
Click save again to link the page to a menu.

Go to tpl_person page, select Page Objects and click new button to add the grid.

Select our grid and click save.



That's it! Basic page with CRUD from and grid is rendered in React.
Let's create a grid from REST service we created.
Right click on listUsers method and click Service Method-> Query.

Write a query (each property must be on new line) and click save.


Right click the query and select Query->Grid.

Enter grid details and click save.


You created a grid!

