Skip to main content

Routing & Navigation

Route Configuration

All routes are defined in app.routing.ts with lazy loading for performance.

Main Routes

Route Module Access
/ Redirect to /login Public
/login LoginComponent Public
/profile ProfileComponent Authenticated
/home HomeModule Authenticated
/waybill WaybillModule Authenticated
/incoming-scan IncomingScanModule Authenticated
/outgoing-scan OutgoingScanModule Authenticated
/tracking TrackingModule Authenticated
/reports ReportsModule Authenticated
/reports-dc ReportsDcModule Authenticated
/tariff TariffModule Authenticated
/package-return PackageReturnModule Authenticated
/return-handling PackageReturnHandlingModule Authenticated
/manifest ManifestModule Authenticated
/indopaket IndopaketModules Authenticated
/monitor-booking MonitoringBookingModule Authenticated
/monitoring-courier MonitoringCourierModule Authenticated
/mitra-courier MitraCourierModule Authenticated
/marketplace MarketplaceModule Authenticated
/account-management AccountManagementModule Authenticated
/customer-manage UserManageModule Authenticated
/manual-handling ManualHandlingModule Authenticated
/pod-management PodApprovalModule Authenticated
/trucking TruckingModule Authenticated
/finance-management FinanceManagementModule Authenticated
/saldo SaldoModule Authenticated
/notification NotificationModule Authenticated

Navigation Structure

Main Layout (layouts/full/)

  • Header (header.component) - Top navigation, user menu
  • Sidebar (sidebar.component) - Main navigation menu
  • Breadcrumb (breadcrumb.component) - Breadcrumb navigation

Menu Configuration

Menu items are defined in shared/menu-items/ based on user roles.