Quick Start
Build your first Appivo application step by step
Quick Start Guide
This guide walks you through building a simple task management application in Appivo. You'll learn the core concepts by doing.
What You'll Build
A task management application with:
- A data model to store tasks
- A user interface to view and manage tasks
- Business logic to send notifications
Step 1: Create Your Application
- Click Create New Application in the Application Builder
- Choose Start from Scratch (or select a template)
- Name your application "Task Manager"
- Select your target platforms (Desktop and/or Mobile)
- Click Create
Your new application opens in the Application Builder with an empty schema ready for you to define.
Step 2: Design Your Data Model
Navigate to the Models section to define your data structure.
Create the Task Model
- Click Add Model
- Name it "Task"
- Add the following attributes:
| Attribute | Type | Settings |
|---|---|---|
| title | Text | Required, max 100 characters |
| description | Long Text | Optional |
| due_date | Date | Optional |
| priority | Selection | Options: Low, Medium, High |
| status | Selection | Options: New, In Progress, Complete |
Appivo automatically adds system fields to every model:
- id - Unique identifier
- created_at - Creation timestamp
- updated_at - Last modification timestamp
- ver - Version for conflict resolution
Understanding Attribute Types
Appivo provides many attribute types for different data needs:
- Text - Short text up to 255 characters
- Long Text - Extended text for descriptions
- Integer - Whole numbers
- Decimal - Numbers with decimal places
- Boolean - True/false values
- Date - Date without time
- DateTime - Date with time
- Selection - Predefined options
- Email - Validated email addresses
- Phone - Phone numbers
- File - File attachments
- Image - Image uploads
Step 3: Create Your User Interface
Navigate to User Interfaces to design your screens.
Create a Task List View
- Click Add View to create a new screen
- Name it "Task List"
- Drag a DataGrid widget onto the canvas
- Configure it to display the Task model
- Select which columns to show: Title, Priority, Due Date, Status
Create a Task Form View
- Add another view named "Task Form"
- Drag input widgets onto the canvas:
- TextField for title
- TextArea for description
- DateField for due_date
- Select for priority and status
- Add Button widgets for Save and Cancel actions
Connect Widgets to Data
For each input widget:
- Select the widget on the canvas
- In the properties panel, set the Binding to the corresponding model attribute
- For example, bind the title TextField to
task.title
Step 4: Add Business Logic
Navigate to Rules to set up automation.
Create a Notification Rule
When a task is created, send a notification:
- Click Add Rule
- Configure the rule:
- Type: DATA
- Model: Task
- Event: CREATE
- Add an action:
- Type: SENDMAIL
- Template: Create an email template with task details
- Recipients: Configure who receives the notification
Available Rule Types
| Rule Type | When It Triggers |
|---|---|
| DATA | When records are created, updated, or deleted |
| SCHEDULED | At specific times (e.g., every Monday at 9 AM) |
| REST | When external API calls are received |
| TIMEBASED | At regular time intervals |
| MANUAL | When triggered by user actions |
| CHAIN | When another rule completes |
Available Action Types
| Action Type | What It Does |
|---|---|
| SCRIPT | Runs custom JavaScript code |
| SENDMAIL | Sends email notifications |
| SENDSMS | Sends text messages |
| SENDPUSH | Sends push notifications |
| WEBHOOK | Calls external APIs |
| SERVER | Performs server-side operations |
Step 5: Test Your Application
- Click Preview in the Application Builder
- Create a few test tasks
- Verify that:
- Tasks are saved correctly
- The list displays your tasks
- Status changes work as expected
- Notifications are sent (check your email)
Testing Tips
- Test all input validations
- Try edge cases (empty fields, very long text)
- Test on different screen sizes
- Verify all navigation works correctly
Step 6: Deploy to Production
When you're ready to go live:
- Review your configuration settings
- Click Deploy to Production
- Monitor the deployment status
- Your application is now live!
What's Next?
Congratulations! You've built your first Appivo application. Here are ways to extend it:
Add More Features
- Categories: Create a Category model and link tasks to categories
- Assignment: Add a reference to assign tasks to users
- Due Date Reminders: Create a SCHEDULED rule to send reminder emails
Explore Advanced Topics
- Data Modeling - Design complex data structures
- Rules and Actions - Build sophisticated automation
- User Interfaces - Create professional layouts
- Security - Configure access control
- Mobile Development - Build native mobile apps
Common Patterns
As you build more applications, you'll use these common patterns:
CRUD Application
- Define your model
- Create a list view with DataGrid
- Create a form view for create/edit
- Create a detail view for read-only display
- Add navigation between views
Workflow Application
- Add a status field to track workflow state
- Create rules that trigger on status changes
- Add actions to notify relevant users
- Track all changes in an audit trail
Dashboard Application
- Create models to store metrics
- Add Chart widgets for visualization
- Add filter widgets for date ranges
- Set up auto-refresh intervals