How dvontetsianos/mc-management-tools works
MC Management Tools is a hotel-operations inventory and administration application. Staff sign in, enter permission-gated workflows such as item management or quick counts, and use frontend services to call the FastAPI backend, which applies business rules and persists operational records in SQLite. The wider product also covers purchasing, movements, requests, lost-and-found, reporting, user administration, and exports. Edges reflect shown routing, calls, or data access; several feature branches are documented by the source inventory but their implementation details were not sampled.
Main entry points: main.py API and domain handlers · App.jsx Route dispatcher · FnbItems.jsx Department item management · ItemQuantity.jsx Quick count
Components 24
Access and navigation
- Route dispatcher
frontend/src/App.jsx - Access guards
frontend/src/components/PermissionRoute.jsx - Sign in
frontend/src/pages/Login.jsx - Navigation shell
frontend/src/components/Layout.jsx - Session and identity
frontend/src/services/auth.js
Inventory operations
- Department item management
frontend/src/pages/FnbItems.jsx - Item dialogs and tables
frontend/src/components/items/ItemTable.jsx - Item API client
frontend/src/services/itemService.js - Quick count
frontend/src/pages/quickcount/ItemQuantity.jsx - Locations and hotels
frontend/src/services/locationService.js - Categories and suppliers
frontend/src/pages/Categories.jsx
Operational workflows
- Purchasing history
frontend/src/pages/Purchases.jsx - Stock movements
frontend/src/pages/Movements.jsx - Interdepartment requests
frontend/src/services/requestService.js - Lost and found
frontend/src/pages/LostFound.jsx - User feedback
frontend/src/components/feedback/FeedbackDialog.jsx
Administration and insight
- User administration
frontend/src/pages/Users.jsx - Reports and exports
frontend/src/pages/reports/SpendReport.jsx - Audit history
frontend/src/pages/History.jsx
Backend and persistence
- API and domain handlers
app/main.py - Operational data models
app/models.py - Database sessions
app/database.py - SQLite database
Other components
- Hotel staff
Connections 25
- Hotel staff → Route dispatcher: opens app
- Route dispatcher → Sign in: routes to
frontend/src/App.jsx - Route dispatcher → Access guards: wraps routes
frontend/src/App.jsx - Route dispatcher → Quick count: routes to
frontend/src/App.jsx - Route dispatcher → Department item management: routes to
frontend/src/App.jsx - Sign in → Session and identity: authenticates via
- Access guards → Session and identity: checks permissions
frontend/src/components/PermissionRoute.jsx - Navigation shell → Interdepartment requests: loads pending count
frontend/src/components/Layout.jsx - Department item management → Item dialogs and tables: renders
frontend/src/pages/FnbItems.jsx - Department item management → Item API client: requests item data
frontend/src/pages/FnbItems.jsx - Department item management → Locations and hotels: loads locations
frontend/src/pages/FnbItems.jsx - Quick count → Item API client: saves counts
frontend/src/pages/quickcount/ItemQuantity.jsx - Quick count → Locations and hotels: loads locations
- Item API client → API and domain handlers: calls API
- User administration → API and domain handlers: admin requests
- Purchasing history → API and domain handlers: loads purchases
- Stock movements → API and domain handlers: loads movements
- Interdepartment requests → API and domain handlers: calls API
- Lost and found → API and domain handlers: calls API
- Reports and exports → API and domain handlers: requests reports
- Audit history → API and domain handlers: loads history
- User feedback → API and domain handlers: submits feedback
- API and domain handlers → Database sessions: opens sessions
app/main.py - API and domain handlers → Operational data models: queries and updates
app/main.py - Database sessions → SQLite database: connects to
app/database.py