How bostads-ab-mimer/onecore works
ONECore is a monorepo platform of user-facing portals, an orchestration API, shared libraries, and domain microservices. The visible internal-portal workflow is staff navigating routed tools for parking-space listings, applicant/material-choice work, and listing-text editing; these tools use page-level hooks for data operations. The tree also documents keys and property-management portals and services for leasing, property, contacts, economy, files, inspections, and work orders. Source excerpts establish only selected UI and routing relationships; many service-to-service and portal-to-backend interactions are not shown and are omitted.
Main entry points: app.ts Core orchestration · App.tsx Internal portal · ListingTextContent Listing content · ListingAreaTextContent Area content
Components 23
User portals
- Internal portal
apps/internal-portal/frontend/src/App.tsx - Parking operations
apps/internal-portal/frontend/src/pages/ParkingSpaces - Listing content
apps/internal-portal/frontend/src/pages/ListingTextContent - Area content
apps/internal-portal/frontend/src/pages/ListingAreaTextContent - Residence profiles
apps/internal-portal/frontend/src/pages/Residences/Residences.tsx - Material choices
apps/internal-portal/frontend/src/pages/Home/Home.tsx - Keys portal
apps/keys-portal/src/pages - Property Tree
apps/property-tree/src
Core platform
- Core orchestration
core/src/app.ts - Portal backend
apps/internal-portal/backend/src/app.ts
Domain services
- Leasing
services/leasing/src/app.ts - Property
services/property/src/app.ts - Property management
services/property-management/src/app.ts - Contacts
services/contacts/src/app.ts - Keys service
services/keys/src/app.ts - Economy
services/economy/src/app.ts - Communication
services/communication/src/app.ts - File storage
services/file-storage/src/app.ts - Inspection
services/inspection/src/app.ts - Work orders
services/work-order/src/app.ts
Shared libraries
- Shared types
libs/types/src/file-storage.ts - Shared utilities
libs/utilities/src
Other components
- Staff user
Connections 21
- Staff user → Internal portal: uses
apps/internal-portal/frontend/src/App.tsx - Internal portal → Parking operations: routes to
apps/internal-portal/frontend/src/App.tsx - Internal portal → Listing content: routes to
apps/internal-portal/frontend/src/App.tsx - Internal portal → Area content: routes to
apps/internal-portal/frontend/src/App.tsx - Internal portal → Residence profiles: routes to
apps/internal-portal/frontend/src/App.tsx - Internal portal → Material choices: routes to
apps/internal-portal/frontend/src/App.tsx - Listing content → Portal backend: loads data
- Area content → Portal backend: loads data
- Core orchestration → Leasing: routes API
- Core orchestration → Property: routes API
- Core orchestration → Contacts: routes API
- Core orchestration → Keys service: routes API
- Core orchestration → File storage: routes API
- Core orchestration → Economy: routes API
- Core orchestration → Communication: routes API
- Core orchestration → Inspection: routes API
- Core orchestration → Property management: routes API
- Core orchestration → Work orders: routes API
- File storage → Shared types: uses schemas
- Internal portal → Keys portal: separate portal
- Internal portal → Property Tree: separate portal