Get Started with MLM
This quickstart guide will help you set up MLM locally and walk you through creating your first maintenance work request. By the end, you’ll understand the core workflow from request submission to work order completion.Prerequisites: Make sure you have Node.js (v18 or later) and npm installed, and a Supabase account ready.
Setup in Three Steps
Clone and Install
Clone the repository and install dependencies:This installs all required packages including React 19, TypeScript, Vite, and Supabase client libraries.
Configure Environment
Create a If you want to enable push notifications, also add:
.env file in the project root with your Supabase credentials:Your First Maintenance Request
Let’s walk through creating and managing a maintenance request in MLM.1. Create a Work Request
Anyone can submit a maintenance request, even without authentication:Fill Out the Request Form
Provide the following information:
- Title: Brief description (e.g., “Broken air conditioning unit”)
- Description: Detailed information about the issue
- Location: Select from available locations (e.g., “Adrian Tropical 27”)
- Incident Date: When the problem occurred
- Priority: Select priority level (Low, Medium, High)
- Is Urgent: Mark if immediate attention is required
- Photo: Optionally attach an image showing the issue
- Your Name: Requester name
- Email: Contact email
2. Review and Accept Requests
Authorized users can review incoming requests:Access Work Requests
Navigate to
/solicitudes (requires work_requests:read permission).You’ll see all pending work requests with the ability to:- Search by title or requester
- Filter by location
- Accept requests individually or in batches (up to 10)
3. Manage Work Orders on Kanban Board
Once accepted, work orders appear on the visual Kanban board:Open Kanban Board
Navigate to
/ordenes_trabajo (requires work_orders:read permission).The board shows three default columns:- Pendiente (Pending)
- En Ejecución (In Progress)
- Finalizadas (Completed)
Assign and Track
- Assign a technician: Select from available assignees
- Set deadline: Add a due date for completion
- Drag to update status: Move cards between columns to update progress
- Add comments: Collaborate with your team using the comment feature
- Upload photos: Document progress with photo attachments
Understanding the Workflow
MLM follows a clear maintenance workflow:Work Requests
Learn about the request submission and approval process
Work Orders
Explore work order management and tracking features
Kanban Board
Master the visual workflow management interface
Notifications
Set up real-time notifications for your team
Key Routes Reference
Here are the main application routes you’ll use:| Route | Purpose | Permission Required |
|---|---|---|
/inicio | Dashboard and analytics | home:read |
/crear-ticket | Create new work request | work_orders:create |
/solicitudes | Review work requests | work_requests:read |
/ordenes_trabajo | Kanban board for work orders | work_orders:read |
/mi-perfil | View your assigned tickets | work_orders:read_own |
/inventario | Inventory management | inventory:read |
/admin/settings | Administration hub | Various admin permissions |
Next Steps
Now that you’ve created your first work order, explore these features:Set Up Your Team
Add users and configure roles and permissions
Configure Locations
Define the facilities and locations you manage
Add Technicians
Create assignee profiles for your maintenance team
Manage Inventory
Set up parts, warehouses, and stock management