How grashjs/cmms works
Atlas CMMS is a self-hosted computerized maintenance management system for web and mobile. Staff and requesters use the clients to manage service requests, work orders, assets, inventory, and maintenance; managers configure roles and workflows and review analytics. The API is the central application boundary, with persistence and external integrations supporting it. The README documents the product’s major capabilities; sampled source and the SOURCE INDEX support only selected internal links, so other documented relationships are marked unverified rather than asserted as direct calls.
Main entry points: ApiApplication.java Spring API · WorkOrderService.java Work orders · TasksScreen.tsx Tasks and checklists · RequestController.java Service requests
Components 24
User clients
- Web application
frontend/src/App.tsx - Mobile application
mobile/App.tsx - Mobile navigation
mobile/navigation/index.tsx - Mobile authentication
mobile/contexts/AuthContext.tsx
Maintenance operations
- Service requests
api/src/main/java/com/grash/controller/RequestController.java - Work orders
api/src/main/java/com/grash/service/WorkOrderService.java - Work-order endpoints
api/src/main/java/com/grash/controller/WorkOrderController.java - Tasks and checklists
mobile/screens/workOrders/TasksScreen.tsx - Task domain types
mobile/models/tasks.ts - Assets and inventory
api/src/main/java/com/grash/controller/AssetController.java - Locations
api/src/main/java/com/grash/controller/LocationController.java
Administration and insights
- User domain
api/src/main/java/com/grash/model/User.java - User services
api/src/main/java/com/grash/service/UserService.java - Analytics and reports
api/src/main/java/com/grash/controller/analytics/WOAnalyticsController.java - Workflow automation
api/src/main/java/com/grash/controller/WorkflowController.java - Custom fields
frontend/src/content/own/components/CustomFields/CustomFieldsManager.tsx
API platform
- Spring API
api/src/main/java/com/grash/ApiApplication.java - Authentication security
api/src/main/java/com/grash/security/CustomUserDetailsService.java - File storage abstraction
api/src/main/java/com/grash/service/StorageService.java - Storage selection
api/src/main/java/com/grash/factory/StorageServiceFactory.java - Application database
- Email service
- Paddle billing
api/src/main/java/com/grash/controller/PaddleController.java
Other components
- Staff and requesters
Connections 27
- Staff and requesters → Web application: uses
- Staff and requesters → Mobile application: uses
- Web application → Spring API: calls API
- Mobile application → Mobile navigation: starts navigation
mobile/App.tsx - Mobile navigation → Mobile authentication: checks session
- Mobile authentication → Spring API: requests account data
mobile/contexts/AuthContext.tsx - Spring API → Authentication security: authenticates users
- Spring API → Service requests: routes requests
- Spring API → Work-order endpoints: routes work orders
- Work-order endpoints → Work orders: delegates work
- Staff and requesters → Service requests: submits requests
- Service requests → Work orders: becomes work orders
- Staff and requesters → Work orders: creates and tracks
- Work orders → Tasks and checklists: includes tasks
- Tasks and checklists → Task domain types: uses task types
mobile/screens/workOrders/TasksScreen.tsx - Tasks and checklists → Work-order endpoints: updates tasks
- Staff and requesters → Assets and inventory: manages equipment
- Staff and requesters → Locations: manages locations
- Staff and requesters → Analytics and reports: views reports
- Staff and requesters → Workflow automation: configures automation
- Staff and requesters → Custom fields: configures fields
- Spring API → Application database: persists records
- Spring API → Storage selection: selects storage
api/src/main/java/com/grash/factory/StorageServiceFactory.java - Storage selection → File storage abstraction: provides service
api/src/main/java/com/grash/factory/StorageServiceFactory.java - User services → User domain: manages users
api/src/main/java/com/grash/service/UserService.java - Staff and requesters → Email service: receives notifications
- Staff and requesters → Paddle billing: manages billing