Getting started

Getting Started Guide to Build Your First App

The following guide will help you get started with Ilmos. In this guide, we will walk you through the steps to create your first app.

Terminology

Ilmos allows you to create application using the popular and versatile software architecture pattern called MVC (Model-View-Controller).

  • Controllers: Manage the Logic and Data Flow of your app.
  • Views: Define the User Interface and visual layout of information you wish to present to the user.
  • Models: Store and structure the Data your application uses.

When a user interacts with your app, the request is sent to the appropriate controller, which processes the request and interacts with the model to retrieve or modify data. The controller then selects the appropriate view to render the response, presenting the user with the desired information.

For example, in a book store app, the Model would store the book data structured in a form that makes it easy to retrieve it, the Controller might handle requests to search for books, and the View would display the search results to the user perhaps organized in a list sorted by title or author.

Building applications with Ilmos

This section focuses on the basics of using Ilmos, including how to create an app, design an interface, and connect the data.

By the end of this section, you will have a solid understanding of how to use Ilmos to build your first app. You will also be familiar with the key concepts and features of Ilmos, which will help you get started on your app-building journey.

You can get started by creating a free account on Ilmos and exploring the platform. Once you have an account, you can start building your first app by following the steps outlined in this guide.

Building your first app

Step 1: Create an App

Once logged in, go to your dashboard and click “Create App.”

Enter a name for your app (e.g., mycrm) and an optional description, then click “Add new app” to create it.

Please note that the app name will become part of the URL of your app.
Create App Screenshot

This will create all the infrastructure needed for the app. Once it's created, you will see the app along with a “Manage App” button.

Create Controller Screenshot

Your application will be available at:
https://<yourAppName>.apps.ilmos.io (e.g., https://mycrm.apps.ilmos.io).


Step 2: Set Up a Controller

Click “Manage App” to launch the application builder, then log in with your credentials.

Create Controller Screenshot
  • Navigate to the Controllers section and click “Add Controller.”
  • Enter a name (e.g., homePageController).
  • Select a function (e.g., Show Data) and save it.
  • Controllers can either be used to display data or to perform actions. If you want to display data, select "Show Data" as the function. If you want to Create, Update or Delete data, select the corresponding function.
  • Leave the access level at public to allow access to everyone.
  • Access to a specific controller can be restricted to only logged-in or admin users besides public access. Select the desired access level from the dropdown menu.
    Create Controller Screenshot
  • Click on the created controller and provide a URL to access it (e.g., home). Click on Save.
  • Create Controller Screenshot
  • Click “Add” in the View section on the right, name it (e.g., homePage), and save it.
  • Create Controller Screenshot

Step 3: Design Your View

Click the Edit button to edit the view you just created and design your page using Ilmos's drag-and-drop builder.

Select components like buttons, text fields, images, and more from the component panel on the right, then drag them onto your page layout.

Create Controller Screenshot

Click on the component in the canvas to edit its properties in the right panel. You can change the text, colors, sizes, decorations, background images and other attributes to customize the look and feel of your app.

Create Controller Screenshot

Click the Save button to apply your changes. Once saved, your page will be accessible at:
https://<yourAppName>.apps.ilmos.io/<yourRouteName>. (e.g., https://mycrm.apps.ilmos.io/home)

Create Controller Screenshot
Bonus:

You can set your route as the default route by checking the checkbox below the route name. Once set, clicking the Launch App button will take you directly to that page.

Create App Screenshot

Add Data to your app

Applications most often work with data. That data needs to be stored in a structured way and displayed to the user when required. In this section we will learn how to add data to your application and display it using the DataTable component.


Step 1: Add your data

If your application needs to work with structured information (like books, products, or records), you'll need to define data tables. This allows you to store, retrieve, and display data dynamically.

To get started, go to the Data tab in the builder. Enter the table name (e.g., Books), then click on Add Field. Enter the field name (e.g., name), Select the field type (e.g., Text), and click the Add Field button. Repeat this process for all required fields, and then click on the Create Table button to finalize the table.

For example, a Books table might include:

  • name: TextField
  • genre: TextField
  • price: Number
Create Controller Screenshot

Once the table is created, click the table name → go to the Data section → click on the Add Record button. Enter values into each field (e.g., name: "The Alchemist", genre: "Fiction", price: 15) and click on Add Record to save it. You will be able to see the data in the table above.

The ID field is a primary key that uniquely identifies each record in the table. It is auto generated and auto incremented. It need not be added manually.
Create Controller Screenshot

Step 2: Update the Controller

Navigate to the Controllers section and select the controller you created earlier (homePageController). We will need to add an Model API (aka Data API) to this controller to fetch the data from the database.

  • Click on 'Add' button in the Data API section in the middle to add an Api, name it (e.g., name: getBooksData, operation: read, Table: Books) and save it.

    By default, all fields will be fetched from the database. You can filter the fields by adding the field names in 'Api Fields' input.

  • Create Controller Screenshot
  • This will create a Model Api and will be attached to the selected controller.
Create Controller Screenshot

Step 3: Update Your View

Since we would like to display data from a table, let's use the DataTable component.

For Your Information:

The DataTable component is one of our main custom components that allows you to display data in a tabular format. It is a powerful and flexible component that can present data fetched via APIs (ReadApis). It also supports various display types such as table, card, or product card view.

You can configure which fields to display, add filters, and assign row-specific action buttons. These actions can perform tasks like navigating to a route and executing JavaScript.

To display data using the DataTable component, you first need a ReadApi that fetches data from your database.

  • First open the view you created earlier by clicking on the Edit button in the View section.
  • Drag and drop the DataTable component from the Custom Components section.
  • Click on the DataTable, go to the Traits panel, and select the appropriate ReadApi (e.g., getBooksData).
  • Select the Display Type as Table
  • Once selected, the data will appear in the canvas, dynamically connected to your database..

Create Controller Screenshot

Click the Save button to apply your changes. Once saved, your page will be accessible at:
https://<yourAppName>.apps.ilmos.io/<yourRouteName> (e.g., https://mycrm.apps.ilmos.io/home).

Create Controller Screenshot
Zoomed Image

Need More Help?

Contact our support team at contact@zeraque.com.

Build Your Dream App in Minutes!

Unlock the power of no-code development with Ilmos. Create, customize, and launch your web app effortlessly—no coding skills required.

Start for free and explore all features. No credit card required.