How service-desk-intraedge/delivery-command-center works
Delivery Command Center is a React/Express application for managing SAP services delivery operations. Users sign in, then work across clients, resources, opportunities, SOWs, actuals, resource planning, financials, reports, and administration; the UI sends authenticated API requests, and API route handlers operate on persisted collections. The graph retains these documented product areas, while detailed handler-to-storage links are limited to relationships visible in the supplied excerpts or SOURCE INDEX. Prisma/Postgres is documented, but specific persistence wiring beyond the shown store references is not expanded.
Main entry points: server.js API server · store.js Collection store · api.js API client · auth.js Authentication routes
Components 24
User interface
- App and routing
client/src/App.jsx - Operational forms
client/src/pages/FormPages.jsx - SOW workspace
client/src/pages/SowWorkspacePage.jsx - Operational pages
client/src/pages - Shared UI
client/src/components.jsx - API client
client/src/lib/api.js
API and access
- Authentication routes
api/src/routes/auth.js - API server
api/src/server.js - Token and password auth
api/src/lib/auth.js - Access middleware
api/src/middleware/auth.js
Delivery operations
- Client accounts
api/src/routes/accounts.js - Resource management
api/src/routes/resources.js - Opportunities
api/src/routes/opportunities.js - SOW management
api/src/routes/sows.js - Actuals workbench
api/src/routes/actuals.js - Resource planning
api/src/routes/resourcePlanning.js - Delivery child records
api/src/routes/children.js
Financial insight
- Command dashboard
api/src/routes/dashboard.js - Financial cockpit
api/src/routes/financials.js - Reports
api/src/routes/reports.js - Administration
api/src/routes/admin.js
Persistence
- Collection store
api/src/data/store.js - Prisma database access
api/src/prisma.js
Other components
- Delivery user
Connections 37
- Delivery user → App and routing: uses
client/src/App.jsx - App and routing → API client: authenticates
client/src/App.jsx - App and routing → Operational pages: routes to
client/src/App.jsx - Operational forms → API client: submits data
client/src/pages/FormPages.jsx - SOW workspace → API client: requests data
client/src/pages/SowWorkspacePage.jsx - Operational pages → API client: requests data
client/src/pages/FormPages.jsx - Operational pages → Shared UI: renders
client/src/pages/FormPages.jsx - API client → API server: sends API requests
client/src/lib/api.js - API server → Authentication routes: mounts routes
api/src/server.js - API server → Client accounts: mounts routes
api/src/server.js - API server → Resource management: mounts routes
api/src/server.js - API server → Opportunities: mounts routes
api/src/server.js - API server → SOW management: mounts routes
api/src/server.js - API server → Actuals workbench: mounts routes
api/src/server.js - API server → Resource planning: mounts routes
api/src/server.js - API server → Delivery child records: mounts routes
api/src/server.js - API server → Command dashboard: mounts routes
api/src/server.js - API server → Financial cockpit: mounts routes
api/src/server.js - API server → Reports: mounts routes
api/src/server.js - API server → Administration: mounts routes
api/src/server.js - Authentication routes → Token and password auth: creates tokens
api/src/routes/auth.js - Authentication routes → Collection store: reads and updates
api/src/routes/auth.js - Authentication routes → Access middleware: protects account routes
api/src/routes/auth.js - Access middleware → Token and password auth: verifies tokens
- Access middleware → API server: guards endpoints
api/src/server.js - Collection store → Prisma database access: persists collections
api/src/data/store.js - Client accounts → Collection store: accesses records
- Resource management → Collection store: accesses records
api/src/routes/resources.js - Opportunities → Collection store: accesses records
- SOW management → Collection store: accesses records
- Actuals workbench → Collection store: accesses records
- Resource planning → Collection store: accesses records
- Delivery child records → Collection store: accesses records
api/src/routes/children.js - Command dashboard → Collection store: accesses records
- Financial cockpit → Collection store: accesses records
- Reports → Collection store: reads records
api/src/routes/reports.js - Administration → Collection store: manages records
api/src/routes/admin.js